LeanMapper\Relationship\HasMany::__construct PHP Method

__construct() public method

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
    public function __construct($columnReferencingSourceTable, $relationshipTable, $columnReferencingTargetTable, $targetTable, $strategy)
    {
        $this->columnReferencingSourceTable = $columnReferencingSourceTable;
        $this->relationshipTable = $relationshipTable;
        $this->columnReferencingTargetTable = $columnReferencingTargetTable;
        $this->targetTable = $targetTable;
        $this->strategy = $strategy;
    }