PHP Class LeanMapper\Relationship\BelongsTo

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

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

getColumnReferencingSourceTable() public méthode

Gets name of column referencing source table

getStrategy() public méthode

Gets strategy used to get referencing result
public getStrategy ( ) : string
Résultat string strategy

getTargetTable() public méthode

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