Overview

Namespaces

  • LeanMapper
    • Exception
    • Reflection
    • Relationship

Classes

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

Class BelongsTo

Base class for belongs to relationships

Direct known subclasses

LeanMapper\Relationship\BelongsToMany, LeanMapper\Relationship\BelongsToOne
Abstract
Namespace: LeanMapper\Relationship
Author: Vojtěch Kohout
Located at Relationship/BelongsTo.php
Methods summary
public
# __construct( string $columnReferencingSourceTable, string $targetTable )

Parameters

$columnReferencingSourceTable
$targetTable
public string
# getColumnReferencingSourceTable( )

Returns name of column referencing source table

Returns name of column referencing source 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