TypeShift
in package
implements
IteratorAggregate
TypeShift class
Table of Contents
Interfaces
- IteratorAggregate
Constants
- ERR_EMPTY_ARRAY = -2
- ERR_EMPTY_RESULT = -1
Properties
- $authUrl : string
- $searchUrl : string
- $typeShifts : array<string|int, mixed>
Methods
- __construct() : mixed
- __destruct() : mixed
- fetch() : int
- Search all type shifts
- getIterator() : array<string|int, mixed>
- Iterate over type shifts found
Constants
ERR_EMPTY_ARRAY
public
mixed
ERR_EMPTY_ARRAY
= -2
ERR_EMPTY_RESULT
public
mixed
ERR_EMPTY_RESULT
= -1
Properties
$authUrl
private
string
$authUrl
= ''
$searchUrl
private
string
$searchUrl
= ''
$typeShifts
private
array<string|int, mixed>
$typeShifts
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
fetch()
Search all type shifts
public
fetch() : int
Return values
int —Number of elems found
getIterator()
Iterate over type shifts found
public
getIterator() : array<string|int, mixed>
Return values
array<string|int, mixed> —array of \CollettoreUnico\DataStructure\TypeShift