PHP Interface Esensi\Model\Contracts\RelatingModelInterface

Author: Daniel LaBarge ([email protected])
Afficher le fichier Open project: esensi/model

Méthodes publiques

Méthode Description
getRelationship ( string $name ) : array Return the relationship configurations.
isRelationship ( string $name ) : boolean Return whether the name is a relationship or not.

Method Details

getRelationship() public méthode

Return the relationship configurations.
public getRelationship ( string $name ) : array
$name string of related model
Résultat array

isRelationship() public méthode

Return whether the name is a relationship or not.
public isRelationship ( string $name ) : boolean
$name string of related model
Résultat boolean