This commit is contained in:
parent
39e46088c5
commit
58ec853b36
@ -366,6 +366,18 @@ final class Doctrine
|
||||
* @var string $path doctrine root directory
|
||||
*/
|
||||
private static $path;
|
||||
/**
|
||||
* @var boolean $_debug
|
||||
*/
|
||||
private static $_debug = false;
|
||||
|
||||
public static function debug($bool = null)
|
||||
{
|
||||
if ($bool !== null) {
|
||||
self::$_debug = (bool) $bool;
|
||||
}
|
||||
return self::$_debug;
|
||||
}
|
||||
/**
|
||||
* getPath
|
||||
* returns the doctrine root
|
||||
|
Loading…
x
Reference in New Issue
Block a user