AbstractItem
in package
implements
ArrayAccess, Countable
AbstractYes
This class provides a base implementation for managing schema items like objectClass and attributeType.
Tags
Table of Contents
Interfaces
- ArrayAccess
- Countable
Properties
- $data : array<string|int, mixed>
- The underlying data
Methods
- __construct() : mixed
- __get() : mixed
- Gets a specific attribute from this item
- __isset() : bool
- Checks whether a specific attribute exists.
- count() : mixed
- getData() : array<string|int, mixed>
- Gets the data
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- setData() : AbstractItem
- Sets the data
Properties
$data
The underlying data
protected
array<string|int, mixed>
$data
Methods
__construct()
public
__construct(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
__get()
Gets a specific attribute from this item
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
Checks whether a specific attribute exists.
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
boolcount()
public
count() : mixed
Tags
getData()
Gets the data
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>offsetExists()
public
offsetExists(mixed $name) : mixed
Parameters
- $name : mixed
Tags
offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Tags
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : mixed
Parameters
- $offset : mixed
- $value : mixed
Tags
offsetUnset()
public
offsetUnset(mixed $offset) : mixed
Parameters
- $offset : mixed
Tags
setData()
Sets the data
public
setData(array<string|int, mixed> $data) : AbstractItem
Parameters
- $data : array<string|int, mixed>
Return values
AbstractItem —Provides a fluid interface