Overview

Namespaces

  • LeanMapper
    • Bridges
      • Nette
        • DI
    • Exception
    • Reflection
    • Relationship

Classes

  • BelongsTo
  • BelongsToMany
  • BelongsToOne
  • HasMany
  • HasOne
  • Overview
  • Namespace
  • Class

Class HasMany

Has many relationship

Namespace: LeanMapper\Relationship
Author: Vojtěch Kohout
Located at LeanMapper/Relationship/HasMany.php
Methods summary
public
# __construct( string|null $columnReferencingSourceTable, string|null $relationshipTable, string|null $columnReferencingTargetTable, string|null $targetTable, string $strategy )

Parameters

$columnReferencingSourceTable
$relationshipTable
$columnReferencingTargetTable
$targetTable
$strategy
public string|null
# getColumnReferencingSourceTable( )

Gets name of column referencing source table

Gets name of column referencing source table

Returns

string|null
public string|null
# getRelationshipTable( )

Gets name of relationship table

Gets name of relationship table

Returns

string|null
public string|null
# getColumnReferencingTargetTable( )

Gets name of column referencing target table

Gets name of column referencing target table

Returns

string|null
public string|null
# getTargetTable( )

Gets name of target table

Gets name of target table

Returns

string|null
public string
# getStrategy( )

Gets strategy used to get referencing result

Gets strategy used to get referencing result

Returns

string
strategy
tharos/leanmapper v3.1.1 API documentation API documentation generated by ApiGen