public function autoload($class) { if ($path = $this->getClassPath($class)) { require $path; return true; } return false; }