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 $columnReferencingTargetTable, string $targetTable )

Parameters

$columnReferencingTargetTable
$targetTable
public string
# getColumnReferencingTargetTable( )

Returns name of column referencing target table

Returns name of column referencing target table

Returns

string
public string
# getTargetTable( )

Returns name of target table

Returns name of target table

Returns

string
tharos/leanmapper v1.3.0 API documentation API documentation generated by ApiGen