PHP ve ben adını değiştirmeniz gerekir bir nesnenin statik yöntem erişmek gerekir.
private $controlleur = null;
private static $instance = null;
private function __construct() {
$nomControlleur = "Controlleurs\_" . Session::singleton()->controlleur;
$this->controlleur = $nomControlleur::singleton();
}
This preceding code is giving me " Syntax error unexpected :: ".
I've also tried writing {$nomControlleur}::singleton(); but it's giving me even more errors,
thanks a lot for your help.
Çelik Topları