Dlaczego nie moge tak napisać??
<?php require_once(\"class/module.php\"); class kernel { public $module; public function __construct() { $this->module = self::getInstance( 'module' ); } if ($inst == NULL) { $inst = new $class ; } return $inst; } } ?>
Błąd
Fatal error: Call to private module::__construct() from context 'kernel' in c:\usr\krasnal\www\portfolio\kernel\me\class\kernel.php on line 14