getLocalFilesystem example

public function __construct($baseDir$remoteConfig)
    {
        $this->baseDir = $baseDir;
        $this->remoteConfig = $remoteConfig;
    }

    /** * @return Filesystem */
    public function createLocalFilesystem()
    {
        return $this->getLocalFilesystem();
    }

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

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