DataAccessPoints
in package
implements
ArrayAccess, IteratorAggregate, Countable
Factory class for creating access points.
Table of Contents
Interfaces
- ArrayAccess
- IteratorAggregate
- Countable
Properties
- $accessPoints : object
- $instance : DataAccessPoints
- $pool : array<string|int, mixed>
- $_accessPoints : object
- The list of access points.
- $_accessPointsPool : array<string|int, mixed>
- The list of open access points.
Methods
- __construct() : mixed
- Constructor
- __get() : void
- Геттер
- Count() : int
- Create() : DataAccessPoints
- Static constructor.
- Get() : DataAccessPoint
- Creates an access point.
- getIterator() : array<string|int, DataAccessPoint>
- getIterator() : DataAccessPointIterator
- ItemAt() : DataAccessPoint
- Key() : string|null
- offsetExists() : DataAccessPoint
- offsetExists() : bool
- Проверяет есть ли данные по индексу
- offsetGet() : DataAccessPoint
- offsetGet() : DataAccessPoint
- Возвращает значение по индексу
- offsetSet() : void
- Устанавливает значение по индексу
- offsetUnset() : void
- удаляет данные по индексу
Properties
$accessPoints read-only
public
object
$accessPoints
The access points.
$instance
public
static DataAccessPoints
$instance
$pool read-only
public
array<string|int, mixed>
$pool
The pool.
$_accessPoints
The list of access points.
private
object
$_accessPoints
$_accessPointsPool
The list of open access points.
private
array<string|int, mixed>
$_accessPointsPool
Methods
__construct()
Constructor
public
__construct() : mixed
__get()
Геттер
public
__get(string $property) : void
Parameters
- $property : string
Count()
public
Count() : int
Return values
intCreate()
Static constructor.
public
static Create() : DataAccessPoints
Tags
Return values
DataAccessPoints —Returns an instance of DataAccessPoints.
Get()
Creates an access point.
public
Get(string $name) : DataAccessPoint
Parameters
- $name : string
-
The name of the access point.
Tags
Return values
DataAccessPoint —Returns a DataAccessPoint object.
getIterator()
public
getIterator() : array<string|int, DataAccessPoint>
Returns an iterator for DataAccessPoint objects.
Return values
array<string|int, DataAccessPoint>getIterator()
public
getIterator() : DataAccessPointIterator
Return values
DataAccessPointIteratorItemAt()
public
ItemAt(int $index) : DataAccessPoint
Parameters
- $index : int
Return values
DataAccessPointKey()
public
Key(int $index) : string|null
Parameters
- $index : int
Return values
string|nulloffsetExists()
public
offsetExists(mixed $offset) : DataAccessPoint
Checks if a DataAccessPoint object exists at the specified offset.
Parameters
- $offset : mixed
Return values
DataAccessPointoffsetExists()
Проверяет есть ли данные по индексу
public
offsetExists(string $offset) : bool
Parameters
- $offset : string
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : DataAccessPoint
Returns the DataAccessPoint object at the specified offset.
Parameters
- $offset : mixed
Return values
DataAccessPointoffsetGet()
Возвращает значение по индексу
public
offsetGet(string $offset) : DataAccessPoint
Parameters
- $offset : string
Return values
DataAccessPointoffsetSet()
Устанавливает значение по индексу
public
offsetSet(string $offset, mixed $value) : void
Parameters
- $offset : string
- $value : mixed
offsetUnset()
удаляет данные по индексу
public
offsetUnset(string $offset) : void
Parameters
- $offset : string