PropertiesInterface
in
Properties collection interface
Table of Contents
Methods
- getProperties() : array<string|int, mixed>
- Get properties, return Property objects array
- getProperty() : PropertyInterface|null
- Get property
- property() : Properties
- Set property
- setPropertyValue() : bool
- Set property value
Methods
getProperties()
Get properties, return Property objects array
public
getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>getProperty()
Get property
public
getProperty(string $name) : PropertyInterface|null
Parameters
- $name : string
Return values
PropertyInterface|nullproperty()
Set property
public
property(string $name, array<string|int, mixed>|object|string|callable $descriptor) : Properties
Parameters
- $name : string
- $descriptor : array<string|int, mixed>|object|string|callable
Return values
PropertiessetPropertyValue()
Set property value
public
setPropertyValue(string $key, mixed $value) : bool
Parameters
- $key : string
- $value : mixed