AcmePhp\Cli\Action\AbstractFlysystemAction::handle PHP Метод

handle() публичный метод

public handle ( $config, CertificateResponse $response )
$response AcmePhp\Ssl\CertificateResponse
    public function handle($config, CertificateResponse $response)
    {
        $remoteAdapter = $this->createAdapter($config);
        $remote = new Filesystem($remoteAdapter);
        $files = $this->master->listContents('.', true);
        foreach ($files as $file) {
            if (0 === strpos($file['basename'], '.')) {
                continue;
            }
            $this->mirror($file['type'], $file['path'], $remote, $remoteAdapter);
        }
    }