public function dir($identifier) {
    if ($identifier === 'root') {
      return $this->getRootDirectory();
    } elseif ($this->directoryLocations->has($identifier)) {
      return $this->directoryLocations->get($identifier);
    } else {
      return $this->package->getDirectory($identifier);
    }
  }
public function dir($identifier) {
    if ($identifier === 'root') {
      return $this->getRootDirectory();
    } elseif ($this->directoryLocations->has($identifier)) {
      return $this->directoryLocations->get($identifier);
    } else {
      return $this->package->getDirectory($identifier);
    }
  }
public function dir ( $ identifier ) { if ( $ identifier === 'root' ) { return $ this -> getRootDirectory ( ) ; } elseif ( $ this -> directoryLocations -> has ( $ identifier ) ) { return $ this -> directoryLocations -> get ( $ identifier ) ; } else { return $ this -> package -> getDirectory ( $ identifier ) ; } }
Returns a semantic directory for the project

available: test-files|cache|bin (for more see ProjectPackageTest)
@return Webforge\Common\System\Dir
Returns a semantic directory for the project