public function dir($path = null, $create = false)
    {
        if (!isset($this->_baseDir)) {
            throw new App\Exception('Base directory not set');
        }
        return isset($path)
            ? $this->_baseDir->dir($path, $create)
            : $this->_baseDir;
    }
public function dir($path = null, $create = false)
    {
        if (!isset($this->_baseDir)) {
            throw new App\Exception('Base directory not set');
        }
        return isset($path)
            ? $this->_baseDir->dir($path, $create)
            : $this->_baseDir;
    }
public function dir ( $ path = null , $ create = false ) { if ( ! isset ( $ this -> _baseDir ) ) { throw new App \ Exception ( 'Base directory not set' ) ; } return isset ( $ path ) ? $ this -> _baseDir -> dir ( $ path , $ create ) : $ this -> _baseDir ; }
Get child directory.
@return Coast\Dir
Get child directory .