PHP Class Ergo\Decorator

Show file Open project: 99designs/ergo

Public Methods

Method Description
__call ( String $method, Array $args ) : Unknown Forward method calls.
__construct ( Object $object ) Constructor.
__get ( $name ) : Unknown Forward property get.
__getObject ( ) Returns the decorated object.
__set ( String $name, Unknown $value ) Forward property set.
__setObject ( $object ) Replace the decorated delegate with the specified object.

Method Details

__call() public method

Forward method calls.
public __call ( String $method, Array $args ) : Unknown
$method String method name
$args Array method arguments
return Unknown method return value

__construct() public method

Constructor.
public __construct ( Object $object )
$object Object

__get() public method

Forward property get.
public __get ( $name ) : Unknown
return Unknown

__getObject() public method

Returns the decorated object.
public __getObject ( )

__set() public method

Forward property set.
public __set ( String $name, Unknown $value )
$name String property name
$value Unknown property value

__setObject() public method

Replace the decorated delegate with the specified object.
public __setObject ( $object )