PHP Class Pheasant\Relationships\HasMany

Inheritance: extends Pheasant\Relationship
Show file Open project: lox/pheasant

Public Methods

Method Description
__construct ( $class, $local, $foreign = null ) Constructor
add ( $object, $value ) * (non-phpdoc)
get ( $object, $key, $cache = null ) * (non-phpdoc)

Method Details

__construct() public method

Constructor
public __construct ( $class, $local, $foreign = null )

add() public method

* (non-phpdoc)
See also: Relationship::add()
public add ( $object, $value )

get() public method

* (non-phpdoc)
See also: Relationship::get()
public get ( $object, $key, $cache = null )