public function __construct($rootDir) { $this->rootDir = $rootDir; $this->libraryDir = $rootDir . 'library/'; }