kernel/private/classes/clusterfilehandlers/dfsbackends/dfs_filter_iterator.php
public function current()
    {
        /** @var SplFileInfo $file */
        $file = $this->getInnerIterator()->current();
        $filePathName = $file->getPathname();

        // Trim prefix + 1 for leading /
        return substr( $filePathName, strlen( $this->prefix ) + 1 );
    }
public function current()
    {
        /** @var SplFileInfo $file */
        $file = $this->getInnerIterator()->current();
        $filePathName = $file->getPathname();

        // Trim prefix + 1 for leading /
        return substr( $filePathName, strlen( $this->prefix ) + 1 );
    }
public function current ( ) { /** @var SplFileInfo $file */ $ file = $ this -> getInnerIterator ( ) -> current ( ) ; $ filePathName = $ file -> getPathname ( ) ; // Trim prefix + 1 for leading / return substr ( $ filePathName , strlen ( $ this -> prefix ) + 1 ) ; }
Transforms the SplFileInfo in a simple relative path

@return string The relative path to the current file
Transforms the SplFileInfo in a simple relative path