PHPDaemon\FS\FileSystem::realpath PHP Method

realpath() public static method

realpath()
public static realpath ( string $path, callable $cb, integer $pri = EIO_PRI_DEFAULT ) : resource | true
$path string Path
$cb callable Callback
$pri integer Priority
return resource | true
    public static function realpath($path, $cb, $pri = EIO_PRI_DEFAULT)
    {
        $cb = CallbackWrapper::forceWrap($cb);
        if (!self::$supported) {
            $cb($path, realpath($path));
            return true;
        }
        return eio_realpath($path, $pri, $cb, $path);
    }