PHP Class LeanMapper\Relationship\HasMany

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

Méthodes publiques

Méthode Description
__construct ( string | null $columnReferencingSourceTable, string | null $relationshipTable, string | null $columnReferencingTargetTable, string | null $targetTable, string $strategy )
getColumnReferencingSourceTable ( ) : string | null Gets name of column referencing source table
getColumnReferencingTargetTable ( ) : string | null Gets name of column referencing target table
getRelationshipTable ( ) : string | null Gets name of relationship 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 $relationshipTable, string | null $columnReferencingTargetTable, string | null $targetTable, string $strategy )
$columnReferencingSourceTable string | null
$relationshipTable string | null
$columnReferencingTargetTable string | null
$targetTable string | null
$strategy string

getColumnReferencingSourceTable() public méthode

Gets name of column referencing source table

getColumnReferencingTargetTable() public méthode

Gets name of column referencing target table

getRelationshipTable() public méthode

Gets name of relationship table
public getRelationshipTable ( ) : string | null
Résultat string | null

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