PHP Class LeanMapper\Relationship\HasOne

Author: Vojtěch Kohout
Datei anzeigen Open project: tharos/leanmapper Class Usage Examples

Public Methods

Method Description
__construct ( string | null $columnReferencingTargetTable, string | null $targetTable )
getColumnReferencingTargetTable ( ) : string | null Gets name of column referencing target table
getTargetTable ( ) : string | null Gets name of target table

Method Details

__construct() public method

public __construct ( string | null $columnReferencingTargetTable, string | null $targetTable )
$columnReferencingTargetTable string | null
$targetTable string | null

getColumnReferencingTargetTable() public method

Gets name of column referencing target table

getTargetTable() public method

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