PHP Класс Smalot\Magento\MultiCallQueue

Наследование: implements Smalot\Magento\MultiCallQueueInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$position integer
$queue array
$remoteAdapter Smalot\Magento\RemoteAdapterInterface

Открытые методы

Метод Описание
__construct ( Smalot\Magento\RemoteAdapterInterface $remoteAdapter )
addAction ( Smalot\Magento\ActionInterface $action, callable $callback = null )
count ( ) : integer (PHP 5 >= 5.1.0)
Count elements of an object
current ( ) : mixed (PHP 5 >= 5.0.0)
Return the current element
execute ( ) : array
flush ( )
key ( ) : integer (PHP 5 >= 5.0.0)
Return the key of the current element
next ( ) : void (PHP 5 >= 5.0.0)
Move forward to next element
offsetExists ( mixed $offset ) : boolean (PHP 5 >= 5.0.0)
Whether a offset exists
offsetGet ( mixed $offset ) : mixed (PHP 5 >= 5.0.0)
Offset to retrieve
offsetSet ( mixed $offset, mixed $value ) : void (PHP 5 >= 5.0.0)
Offset to set
offsetUnset ( mixed $offset ) : void (PHP 5 >= 5.0.0)
Offset to unset
rewind ( ) : void (PHP 5 >= 5.0.0)
Rewind the Iterator to the first element
valid ( ) : boolean (PHP 5 >= 5.0.0)
Checks if current position is valid

Описание методов

__construct() публичный Метод

public __construct ( Smalot\Magento\RemoteAdapterInterface $remoteAdapter )
$remoteAdapter Smalot\Magento\RemoteAdapterInterface

addAction() публичный Метод

public addAction ( Smalot\Magento\ActionInterface $action, callable $callback = null )
$action Smalot\Magento\ActionInterface
$callback callable

count() публичный Метод

(PHP 5 >= 5.1.0)
Count elements of an object
public count ( ) : integer
Результат integer The custom count as an integer.

The return value is cast to an integer.

current() публичный Метод

(PHP 5 >= 5.0.0)
Return the current element
public current ( ) : mixed
Результат mixed Can return any type.

execute() публичный Метод

public execute ( ) : array
Результат array

flush() публичный Метод

public flush ( )

key() публичный Метод

(PHP 5 >= 5.0.0)
Return the key of the current element
public key ( ) : integer
Результат integer scalar on success, or null on failure.

next() публичный Метод

(PHP 5 >= 5.0.0)
Move forward to next element
public next ( ) : void
Результат void Any returned value is ignored.

offsetExists() публичный Метод

(PHP 5 >= 5.0.0)
Whether a offset exists
public offsetExists ( mixed $offset ) : boolean
$offset mixed

An offset to check for.

Результат boolean true on success or false on failure.

The return value will be casted to boolean if non-boolean was returned.

offsetGet() публичный Метод

(PHP 5 >= 5.0.0)
Offset to retrieve
public offsetGet ( mixed $offset ) : mixed
$offset mixed

The offset to retrieve.

Результат mixed Can return all value types.

offsetSet() публичный Метод

(PHP 5 >= 5.0.0)
Offset to set
public offsetSet ( mixed $offset, mixed $value ) : void
$offset mixed

The offset to assign the value to.

$value mixed

The value to set.

Результат void

offsetUnset() публичный Метод

(PHP 5 >= 5.0.0)
Offset to unset
public offsetUnset ( mixed $offset ) : void
$offset mixed

The offset to unset.

Результат void

rewind() публичный Метод

(PHP 5 >= 5.0.0)
Rewind the Iterator to the first element
public rewind ( ) : void
Результат void Any returned value is ignored.

valid() публичный Метод

(PHP 5 >= 5.0.0)
Checks if current position is valid
public valid ( ) : boolean
Результат boolean The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.

Описание свойств

$position защищенное свойство

protected int $position
Результат integer

$queue защищенное свойство

protected array $queue
Результат array

$remoteAdapter защищенное свойство

protected RemoteAdapterInterface,Smalot\Magento $remoteAdapter
Результат Smalot\Magento\RemoteAdapterInterface