Jackalope\BinaryStreamWrapper::url_stat PHP Method

url_stat() public method

Retrieve information about a file
See also: http://php.net/manual/en/streamwrapper.url-stat.php
public url_stat ( string $path, integer $flags ) : array
$path string The backend path for this stream, e.g. jackalope://abc0123/content/node/binary
$flags integer ignored
return array Should return as many elements as stat() does. Unknown or unavailable values should be set to a rational value (usually 0).
    public function url_stat($path, $flags)
    {
        $this->path = $path;
        return $this->stream_stat();
    }