libraries); } /** * Register a library from the given path * * @param string $path * * @return Library The registered library */ public function registerPath($path) { $library = new Library($path); $this->libraries[] = $library; return $library; } }