PHP Trait Bolt\Storage\Entity\MagicAttributeTrait

Author: Ross Riley ([email protected])
Inheritance: use trait Bolt\Storage\CaseTransformTrait
Show file Open project: bolt/bolt

Public Properties

Property Type Description
$_fields

Public Methods

Method Description
__call ( $method, $arguments )
__get ( $key )
__isset ( $key )
__set ( $key, $value )
__unset ( $key )

Protected Methods

Method Description
getFields ( ) : array An internal method that builds a list of available fields depending on context
has ( string $field ) : boolean Boolean check on whether entity has field

Method Details

__call() public method

public __call ( $method, $arguments )

__get() public method

public __get ( $key )

__isset() public method

public __isset ( $key )

__set() public method

public __set ( $key, $value )

__unset() public method

public __unset ( $key )

getFields() protected method

An internal method that builds a list of available fields depending on context
protected getFields ( ) : array
return array

has() protected method

Boolean check on whether entity has field
protected has ( string $field ) : boolean
$field string
return boolean

Property Details

$_fields public property

public $_fields