LeanMapper\Relationship\BelongsTo::__construct PHP Method

__construct() public method

public __construct ( string | null $columnReferencingSourceTable, string | null $targetTable, string $strategy )
$columnReferencingSourceTable string | null
$targetTable string | null
$strategy string
    public function __construct($columnReferencingSourceTable, $targetTable, $strategy)
    {
        $this->columnReferencingSourceTable = $columnReferencingSourceTable;
        $this->targetTable = $targetTable;
        $this->strategy = $strategy;
    }