PHP 클래스 LeanMapper\Relationship\BelongsTo

저자: Vojtěch Kohout
파일 보기 프로젝트 열기: tharos/leanmapper

공개 메소드들

메소드 설명
__construct ( string | null $columnReferencingSourceTable, string | null $targetTable, string $strategy )
getColumnReferencingSourceTable ( ) : string | null Gets name of column referencing source table
getStrategy ( ) : string Gets strategy used to get referencing result
getTargetTable ( ) : string | null Gets name of target table

메소드 상세

__construct() 공개 메소드

public __construct ( string | null $columnReferencingSourceTable, string | null $targetTable, string $strategy )
$columnReferencingSourceTable string | null
$targetTable string | null
$strategy string

getColumnReferencingSourceTable() 공개 메소드

Gets name of column referencing source table

getStrategy() 공개 메소드

Gets strategy used to get referencing result
public getStrategy ( ) : string
리턴 string strategy

getTargetTable() 공개 메소드

Gets name of target table
public getTargetTable ( ) : string | null
리턴 string | null