PHP Class Smalot\Magento\Action

Inheritance: implements Smalot\Magento\ActionInterface
Mostra file Open project: smalot/magento-client

Protected Properties

Property Type Description
$arguments array
$method string
$remoteAdapter Smalot\Magento\RemoteAdapterInterface

Public Methods

Method Description
__construct ( string $method, array $arguments = [], Smalot\Magento\RemoteAdapterInterface $remoteAdapter = null )
addToQueue ( Smalot\Magento\MultiCallQueueInterface $queue, callable $callback = null ) : mixed | void
execute ( ) : array
getArguments ( ) : array
getMethod ( ) : string

Method Details

__construct() public method

public __construct ( string $method, array $arguments = [], Smalot\Magento\RemoteAdapterInterface $remoteAdapter = null )
$method string
$arguments array
$remoteAdapter Smalot\Magento\RemoteAdapterInterface

addToQueue() public method

public addToQueue ( Smalot\Magento\MultiCallQueueInterface $queue, callable $callback = null ) : mixed | void
$queue Smalot\Magento\MultiCallQueueInterface
$callback callable
return mixed | void

execute() public method

public execute ( ) : array
return array

getArguments() public method

public getArguments ( ) : array
return array

getMethod() public method

public getMethod ( ) : string
return string

Property Details

$arguments protected_oe property

protected array $arguments
return array

$method protected_oe property

protected string $method
return string

$remoteAdapter protected_oe property

protected RemoteAdapterInterface,Smalot\Magento $remoteAdapter
return Smalot\Magento\RemoteAdapterInterface