getRemoteFilesystem example

public function createLocalFilesystem()
    {
        return $this->getLocalFilesystem();
    }

    /** * @return Filesystem */
    public function createRemoteFilesystem()
    {
        if (!empty($this->remoteConfig)) {
            return $this->getRemoteFilesystem();
        }

        return $this->getLocalFilesystem();
    }

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

        
Home | Imprint | This part of the site doesn't use cookies.