public function prepareDirectory($name)
    {

        // query whether or not the passed name is a absolute directory
        if ($this->containsScheme($name)) {
            return $this->stripSchema($name);
        }

        // if not, only append it and return the new path
        return $this->appendDirectory($name);
    }
public function prepareDirectory($name)
    {

        // query whether or not the passed name is a absolute directory
        if ($this->containsScheme($name)) {
            return $this->stripSchema($name);
        }

        // if not, only append it and return the new path
        return $this->appendDirectory($name);
    }
public function prepareDirectory ( $ name ) { // query whether or not the passed name is a absolute directory if ( $ this -> containsScheme ( $ name ) ) { return $ this -> stripSchema ( $ name ) ; } // if not, only append it and return the new path return $ this -> appendDirectory ( $ name ) ; }
Prepare's and return's the path either by stripping of the scheme
if it is absolute or append the name, if it is relative.

@param string $name The name to prepare the directory with

@return string The prepared path
Prepare s and return s the path either by stripping of the scheme if it is absolute or append the name if it is relative .