PHP Class Destiny\Model

Inheritance: implements JsonSerializabl\JsonSerializable, implements Illuminate\Contracts\Support\Arrayable, implements ArrayAcces\ArrayAccess
显示文件 Open project: TrackerNetwork/DestinyStatus Class Usage Examples

Protected Properties

Property Type Description
$appends
$cached
$properties

Public Methods

Method Description
__construct ( array $properties )
__get ( $key )
__isset ( $key )
__set ( $key, $value )
__toString ( )
__unset ( $key )
getProperties ( )
jsonSerialize ( )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
toArray ( )

Protected Methods

Method Description
getNonMutatedProperty ( $key )
getProperty ( $key )
newCollection ( array $items = [] )
setCachedProperty ( $key, $value )
setProperty ( $key, $value )

Method Details

__construct() public method

public __construct ( array $properties )
$properties array

__get() public method

public __get ( $key )

__isset() public method

public __isset ( $key )

__set() public method

public __set ( $key, $value )

__toString() public method

public __toString ( )

__unset() public method

public __unset ( $key )

getNonMutatedProperty() protected method

protected getNonMutatedProperty ( $key )

getProperties() public method

public getProperties ( )

getProperty() protected method

protected getProperty ( $key )

jsonSerialize() public method

public jsonSerialize ( )

newCollection() protected method

protected newCollection ( array $items = [] )
$items array

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

setCachedProperty() protected method

protected setCachedProperty ( $key, $value )

setProperty() protected method

protected setProperty ( $key, $value )

toArray() public method

public toArray ( )

Property Details

$appends protected_oe property

protected $appends

$cached protected_oe property

protected $cached

$properties protected_oe property

protected $properties