public function __construct($environment, $root_path, $application = null, $locale = null) { if ($application) { $this->application = $application; } else { $this->application = substr(get_class($this), 0, -6); } parent::__construct($environment, $root_path); if ($locale) { $this->setLocale($locale); } }
function __construct() { // Debug - Classname ausgeben?! Debug::debugInitOnLoad('Class', __CLASS__); parent::__construct(); }