public function setHomePath($homePath)
    {
        if (! file_exists($homePath)) {
            throw new Exception\PathNotFoundException($homePath . ' does not exist');
        }
        if (! is_Dir($homePath)) {
            throw new Exception\PathNotDirException($homePath . ' is not a directory');
        }

        $this->homePath = realpath($homePath);

        return $this;
    }
public function setHomePath($homePath)
    {
        if (! file_exists($homePath)) {
            throw new Exception\PathNotFoundException($homePath . ' does not exist');
        }
        if (! is_Dir($homePath)) {
            throw new Exception\PathNotDirException($homePath . ' is not a directory');
        }

        $this->homePath = realpath($homePath);

        return $this;
    }
public function setHomePath ( $ homePath ) { if ( ! file_exists ( $ homePath ) ) { throw new Exception \ PathNotFoundException ( $ homePath . ' does not exist' ) ; } if ( ! is_Dir ( $ homePath ) ) { throw new Exception \ PathNotDirException ( $ homePath . ' is not a directory' ) ; } $ this -> homePath = realpath ( $ homePath ) ; return $ this ; }
Set the instance-home-Path

@param string $homePath This instances home-path.

@throws Exception\PathNotFoundException
@throws Exception\PathNotDirException
@return \Org\Heigl\Hyphenator\Hyphenator
Set the instance - home - Path