Documentation

PropertyList implements IPropertyFactory

A factory that accepts a list of IProperty instances.

Table of Contents

$properties Properties list array
__construct() Create a new PropertyList mixed
getPropertyConfig() Retrieve the config object used for this factory. array
getProperties() Retrieve a list of properties \buffalokiwi\magicgraph\property\IProperty[]

Properties

Methods

__construct()

Create a new PropertyList

public __construct( $properties : array ) : mixed
Parameters
$properties : array

List of IProperty instances

Tags
throws
InvalidArgumentException
Return values
mixed

getPropertyConfig()

Retrieve the config object used for this factory.

public getPropertyConfig( ) : array

Cast the result to whatever input type

Return values
array

IPropertyConfig[] config

getProperties()

Retrieve a list of properties

public getProperties( ...$config : IPropertyConfig ) : \buffalokiwi\magicgraph\property\IProperty[]
Parameters
$config : IPropertyConfig

One or more configuration instances.

Return values
\buffalokiwi\magicgraph\property\IProperty[]

properties

Search results