protected function getLocalAdapter() : FilesystemInterface
    {
        if (is_null($this->localAdapter)) {
            $dir = $this->factory->getConnection()->getMapsDirectory();
            $this->localAdapter = new \League\Flysystem\Filesystem(new Local($dir.'/../'));
        }

        return $this->localAdapter;
    }
protected function getLocalAdapter() : FilesystemInterface
    {
        if (is_null($this->localAdapter)) {
            $dir = $this->factory->getConnection()->getMapsDirectory();
            $this->localAdapter = new \League\Flysystem\Filesystem(new Local($dir.'/../'));
        }

        return $this->localAdapter;
    }
protected function getLocalAdapter ( ) : FilesystemInterface { if ( is_null ( $ this -> localAdapter ) ) { $ dir = $ this -> factory -> getConnection ( ) -> getMapsDirectory ( ) ; $ this -> localAdapter = new \ League \ Flysystem \ Filesystem ( new Local ( $ dir . '/../' ) ) ; } return $ this -> localAdapter ; }
Get local adapter if dedicated is installed on same host.

@return FilesystemInterface
Get local adapter if dedicated is installed on same host .