PHP 인터페이스 Esensi\Model\Contracts\RelatingModelInterface

저자: Daniel LaBarge ([email protected])
파일 보기 프로젝트 열기: esensi/model

공개 메소드들

메소드 설명
getRelationship ( string $name ) : array Return the relationship configurations.
isRelationship ( string $name ) : boolean Return whether the name is a relationship or not.

메소드 상세

getRelationship() 공개 메소드

Return the relationship configurations.
public getRelationship ( string $name ) : array
$name string of related model
리턴 array

isRelationship() 공개 메소드

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