PHP Class LeanMapper\Relationship\HasOne

Author: Vojtěch Kohout
Afficher le fichier Open project: tharos/leanmapper Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

getColumnReferencingTargetTable() public méthode

Gets name of column referencing target table

getTargetTable() public méthode

Gets name of target table
public getTargetTable ( ) : string | null
Résultat string | null