PHP 클래스 Smalot\Magento\MultiCallQueue

상속: implements Smalot\Magento\MultiCallQueueInterface
파일 보기 프로젝트 열기: smalot/magento-client

보호된 프로퍼티들

프로퍼티 타입 설명
$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