PHP Class AcmePhp\Cli\Action\AbstractFlysystemAction

Author: Titouan Galopin ([email protected])
Inheritance: extends AbstractAction
Show file Open project: acmephp/acmephp

Protected Properties

Property Type Description
$master League\Flysystem\FilesystemInterface

Public Methods

Method Description
__construct ( League\Flysystem\FilesystemInterface $master )
handle ( $config, CertificateResponse $response )

Protected Methods

Method Description
createAdapter ( array $config ) : League\Flysystem\AdapterInterface
getLastError ( League\Flysystem\AdapterInterface $adapter ) : string

Private Methods

Method Description
createRuntimeException ( string $type, string $path, string $action, League\Flysystem\AdapterInterface $adapter ) : RuntimeException
mirror ( string $type, string $path, League\Flysystem\FilesystemInterface $remote, League\Flysystem\AdapterInterface $remoteAdapter )
mirrorDirectory ( string $path, League\Flysystem\FilesystemInterface $remote, League\Flysystem\AdapterInterface $remoteAdapter )
mirrorFile ( string $path, League\Flysystem\FilesystemInterface $remote, League\Flysystem\AdapterInterface $remoteAdapter )

Method Details

__construct() public method

public __construct ( League\Flysystem\FilesystemInterface $master )
$master League\Flysystem\FilesystemInterface

createAdapter() abstract protected method

abstract protected createAdapter ( array $config ) : League\Flysystem\AdapterInterface
$config array
return League\Flysystem\AdapterInterface

getLastError() abstract protected method

abstract protected getLastError ( League\Flysystem\AdapterInterface $adapter ) : string
$adapter League\Flysystem\AdapterInterface
return string

handle() public method

public handle ( $config, CertificateResponse $response )
$response AcmePhp\Ssl\CertificateResponse

Property Details

$master protected property

protected FilesystemInterface,League\Flysystem $master
return League\Flysystem\FilesystemInterface