Overview

Namespaces

  • LeanMapper
    • Exception
    • Reflection
    • Relationship

Classes

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

Class HasOne

Has one relationship

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

Parameters

$columnReferencingTargetTable
$targetTable
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
tharos/leanmapper v2.3.0 API documentation API documentation generated by ApiGen