Arikaim CMS

AbstractDescriptor
in package

AbstractYes

Object descriptior

Table of Contents

Properties

$collections  : array<string|int, mixed>
Property collections
$properties  : Properties
Properties collection

Methods

__construct()  : mixed
Constructor
collection()  : Properties|null
Get collection properties
get()  : null|Property|Properties
Get property
getValue()  : mixed
Get property value
getValues()  : array<string|int, mixed>
Get properties values
set()  : self
Set property value
toArray()  : array<string|int, mixed>
Convert to array
createCollection()  : Properties
Create collection properties
definition()  : void
Properties descriptor in child class
property()  : Properties
Create property

Properties

Methods

getValue()

Get property value

public getValue(string $name) : mixed
Parameters
$name : string

getValues()

Get properties values

public getValues() : array<string|int, mixed>
Return values
array<string|int, mixed>

set()

Set property value

public set(string $name, mixed $value) : self
Parameters
$name : string
$value : mixed
Return values
self

toArray()

Convert to array

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

definition()

Properties descriptor in child class

protected abstract definition() : void

property()

Create property

protected 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
Properties

        
On this page

Search results