Shift
in package
implements
IteratorAggregate
Shift class just implements __constructor, __destructor and iterator
Table of Contents
Interfaces
- IteratorAggregate
Constants
- ERR_EMPTY_ARRAY = -2
- ERR_EMPTY_RESULT = -1
- ERR_INVALID_DATA = -3
- OK_UPDATE = 1
Properties
- $authUrl : string
- $data : array<string|int, mixed>
- $searchUrl : string
Methods
- __construct() : mixed
- __destruct() : mixed
- getIterator() : array<string|int, mixed>
- Iterate over shifts found
Constants
ERR_EMPTY_ARRAY
public
mixed
ERR_EMPTY_ARRAY
= -2
ERR_EMPTY_RESULT
public
mixed
ERR_EMPTY_RESULT
= -1
ERR_INVALID_DATA
public
mixed
ERR_INVALID_DATA
= -3
OK_UPDATE
public
mixed
OK_UPDATE
= 1
Properties
$authUrl
protected
string
$authUrl
= ''
$data
protected
array<string|int, mixed>
$data
$searchUrl
protected
string
$searchUrl
= ''
Methods
__construct()
public
__construct(string $proto, string $fqdn, int $port, string $auth) : mixed
Parameters
- $proto : string
- $fqdn : string
- $port : int
- $auth : string
__destruct()
public
__destruct() : mixed
getIterator()
Iterate over shifts found
public
getIterator() : array<string|int, mixed>
Return values
array<string|int, mixed> —found Data