/** * Sets whether internal debugging is enabled or not. This setting is global * and can be overriden in the instance() function. * * @see isDebugEnabled(). * * @param bool $enabled */ static function setIsDebugEnabled($enabled) { self::$debugEnabled = (bool) $enabled; }