Internal/IdentificationHelper.php
private static function buildLsofArgs($socketAddress, $unix)
    {
        $schemeless = self::stripScheme($socketAddress);

        return $unix ? ('-F p0 '.escapeshellarg($schemeless)) : ('-F pT0 -i tcp@'.escapeshellarg($schemeless));
    }
private static function buildLsofArgs($socketAddress, $unix)
    {
        $schemeless = self::stripScheme($socketAddress);

        return $unix ? ('-F p0 '.escapeshellarg($schemeless)) : ('-F pT0 -i tcp@'.escapeshellarg($schemeless));
    }
private static function buildLsofArgs ( $ socketAddress , $ unix ) { $ schemeless = self :: stripScheme ( $ socketAddress ) ; return $ unix ? ( '-F p0 ' . escapeshellarg ( $ schemeless ) ) : ( '-F pT0 -i tcp@' . escapeshellarg ( $ schemeless ) ) ; }
@param string $socketAddress
@param bool   $unix

@return string
@param string $socketAddress @param bool $unix