FileSystem/LocalFileSystem.php
private function getRealPath($path) {
        if(strpos($path, '../') !== false){
            throw new AccessDeniedException('Path cannot contain "../" pattern');
        }

        return str_replace($this->virtualRootPath, $this->rootPath, $path);
    }
private function getRealPath($path) {
        if(strpos($path, '../') !== false){
            throw new AccessDeniedException('Path cannot contain "../" pattern');
        }

        return str_replace($this->virtualRootPath, $this->rootPath, $path);
    }
private function getRealPath ( $ path ) { if ( strpos ( $ path , '../' ) !== false ) { throw new AccessDeniedException ( 'Path cannot contain "../" pattern' ) ; } return str_replace ( $ this -> virtualRootPath , $ this -> rootPath , $ path ) ; }
Return local path from remote query
@param $path
Return local path from remote query