src/Hyphenator.php
public static function setDefaultHomePath($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');
        }

        self::$defaultHomePath = realpath($homePath);
    }
public static function setDefaultHomePath($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');
        }

        self::$defaultHomePath = realpath($homePath);
    }
Set the default home-Path

@param string $homePath The default Hyphenator Home-path.

@throws Exception\PathNotFoundException
@throws Exception\PathNotDirException
@return void