Phrozn/Registry/Dao/Base.php
public function setProjectPath($path)
    {
        if (!($path instanceof \Phrozn\Path\Project)) {
            $path = new ProjectPath($path);
        }
        $this->projectPath = $path->get(); // calculate path

        return $this;
    }
public function setProjectPath($path)
    {
        if (!($path instanceof \Phrozn\Path\Project)) {
            $path = new ProjectPath($path);
        }
        $this->projectPath = $path->get(); // calculate path

        return $this;
    }
public function setProjectPath ( $ path ) { if ( ! ( $ path instanceof \ Phrozn \ Path \ Project ) ) { $ path = new ProjectPath ( $ path ) ; } $ this -> projectPath = $ path -> get ( ) ; // calculate path return $ this ; }
Set project path.

@param string $path Project path.

@return \Phrozn\Has\ProjectPath
Set project path .