protected function enableAutoload() { foreach ($this->autoloadList as $function) { spl_autoload_register($function); } $this->autoloadList = []; }