Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Pheasant
Relationships
HasMany
PHP Class Pheasant\Relationships\HasMany
Inheritance:
extends
Pheasant\Relationship
Mostrar archivo
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 )