LocalAdapter example

return $this->getRemoteFilesystem();
        }

        return $this->getLocalFilesystem();
    }

    /** * @return Filesystem */
    private function getLocalFilesystem()
    {
        $adapter = new LocalAdapter($this->baseDir);

        return new Filesystem($adapter);
    }

    /** * @return Filesystem */
    private function getRemoteFilesystem()
    {
        $adapter = new FtpAdapter(
            $this->remoteConfig['path'],
            
Home | Imprint | This part of the site doesn't use cookies.