trait AttributesTrait

Class AttributesMutatorsTrait.

Methods

$this
setAttributes( array $attributes)

No description

array|null
getAttributes()

No description

bool
hasAttributes()

No description

$this
clearAttributes()

No description

bool
hasAttributeByValue( mixed $attribute)

No description

bool
hasAttribute( string $index)

No description

string|null
getAttribute( string $index)

No description

$this
setAttribute( mixed $attribute, string $index = null)

No description

$this
removeAttribute( string $index)

No description

$this
removeAttributeByValue($attribute)

No description

Details

at line line 40
$this setAttributes( array $attributes)

Parameters

array $attributes

Return Value

$this

at line line 50
array|null getAttributes()

Return Value

array|null

at line line 58
bool hasAttributes()

Return Value

bool

at line line 66
$this clearAttributes()

Return Value

$this

at line line 78
bool hasAttributeByValue( mixed $attribute)

Parameters

mixed $attribute

Return Value

bool

at line line 88
bool hasAttribute( string $index)

Parameters

string $index

Return Value

bool

at line line 98
string|null getAttribute( string $index)

Parameters

string $index

Return Value

string|null

at line line 109
$this setAttribute( mixed $attribute, string $index = null)

Parameters

mixed $attribute
string $index

Return Value

$this

at line line 125
$this removeAttribute( string $index)

Parameters

string $index

Return Value

$this

at line line 139
$this removeAttributeByValue($attribute)

Parameters

$attribute

Return Value

$this