Attributes
in package
implements
AttributesInterface, IteratorAggregate
FinalYes
Tags
Table of Contents
Interfaces
- AttributesInterface
- IteratorAggregate
Properties
- $attributes : array<string|int, mixed>
- $droppedAttributesCount : int
Methods
- count() : int
- create() : AttributesInterface
- factory() : AttributesFactoryInterface
- get() : mixed
- getDroppedAttributesCount() : int
- getIterator() : Traversable
- has() : bool
- toArray() : array<string|int, mixed>
Properties
$attributes read-only
private
array<string|int, mixed>
$attributes
$droppedAttributesCount read-only
private
int
$droppedAttributesCount
Methods
count()
public
count() : int
Tags
Return values
intcreate()
public
static create(iterable<string|int, mixed> $attributes) : AttributesInterface
Parameters
- $attributes : iterable<string|int, mixed>
Return values
AttributesInterfacefactory()
public
static factory([int|null $attributeCountLimit = null ][, int|null $attributeValueLengthLimit = null ]) : AttributesFactoryInterface
Parameters
- $attributeCountLimit : int|null = null
- $attributeValueLengthLimit : int|null = null
Return values
AttributesFactoryInterfaceget()
public
get(string $name) : mixed
Parameters
- $name : string
getDroppedAttributesCount()
public
getDroppedAttributesCount() : int
Return values
intgetIterator()
public
getIterator() : Traversable
Return values
Traversablehas()
public
has(string $name) : bool
Parameters
- $name : string
Return values
booltoArray()
public
toArray() : array<string|int, mixed>