CSR3DTOInterface
interface CSR3DTOInterface implements ArrayAccess, Iterator
CSR3DTOInterface
The CSR3DTOInterface define the base CSR3 data transfer object interfae.
Methods
$this
setAttribute(string $attributeName, mixed $attributeValue)
Set attribute
mixed
getAttribute(string $attributeName)
Get attribute
$this
setAttributes(array $attributes)
Set attributes
array
getAttributes()
Get attributes
Details
at line 42
$this
setAttribute(string $attributeName, mixed $attributeValue)
Set attribute
This method allow to set or add an attribute to the DTO
at line 56
mixed
getAttribute(string $attributeName)
Get attribute
This method allow to retreive a value from a named attribute of the DTO
at line 67
$this
setAttributes(array $attributes)
Set attributes
This method allow to set the attributes of the DTO from an associative array
at line 76
array
getAttributes()
Get attributes
This method return the attributes as array from the DTO