public function addImportDir($dir) { $this->importDir = (array) $this->importDir; $this->importDir[] = $dir; }