public static function getAddress(string $pidFile = null)
    {
        $pidFile = $pidFile ?? self::getDefaultPidFile();

        if (! \file_exists($pidFile)) {
            return false;
        }

        return \file_get_contents($pidFile);
    }
public static function getAddress(string $pidFile = null)
    {
        $pidFile = $pidFile ?? self::getDefaultPidFile();

        if (! \file_exists($pidFile)) {
            return false;
        }

        return \file_get_contents($pidFile);
    }
public static function getAddress ( string $ pidFile = null ) { $ pidFile = $ pidFile ?? self :: getDefaultPidFile ( ) ; if ( ! \ file_exists ( $ pidFile ) ) { return false ; } return \ file_get_contents ( $ pidFile ) ; }
Get the address from the pid file.

@param null|string $pidFile

@return bool|string
Get the address from the pid file .