Storage/src/StreamWrapper.php
public function url_stat($path, $flags)
    {
        $client = $this->openPath($path);

        // if directory
        if ($this->isDirectory($this->file)) {
            return $this->urlStatDirectory();
        }

        return $this->urlStatFile();
    }
public function url_stat($path, $flags)
    {
        $client = $this->openPath($path);

        // if directory
        if ($this->isDirectory($this->file)) {
            return $this->urlStatDirectory();
        }

        return $this->urlStatFile();
    }
public function url_stat ( $ path , $ flags ) { $ client = $ this -> openPath ( $ path ) ; // if directory if ( $ this -> isDirectory ( $ this -> file ) ) { return $ this -> urlStatDirectory ( ) ; } return $ this -> urlStatFile ( ) ; }
Callback handler for retrieving information about a file

@param string $path The URI to the file
@param int $flags Bitwise mask of options
@return array|bool
Callback handler for retrieving information about a file