Overview

Namespaces

  • LeanMapper
    • Bridges
      • Nette
        • DI
    • Exception
    • Reflection
    • Relationship

Classes

  • Caller
  • Connection
  • DataDifference
  • DefaultEntityFactory
  • DefaultMapper
  • Entity
  • EntityDataDecoder
  • Events
  • Filtering
  • FilteringResult
  • FilteringResultDecorator
  • Fluent
  • ImplicitFilters
  • Repository
  • Result
  • ResultProxy
  • Row

Interfaces

  • IEntityFactory
  • IMapper
  • Overview
  • Namespace
  • Class

Class DataDifference

Represents changes in M:N relationship

Namespace: LeanMapper
Author: Vojtěch Kohout
Located at LeanMapper/DataDifference.php
Methods summary
public
# __construct( array $added, array $removed )

Parameters

$added
$removed
public boolean
# mayHaveAny( )

Performs quick lookup whether current instance may have any differences

Performs quick lookup whether current instance may have any differences

Returns

boolean
public array
# getByPivot( mixed $pivot )

Gets differences by given pivot

Gets differences by given pivot

Parameters

$pivot

Returns

array

Throws

LeanMapper\Exception\InvalidArgumentException
tharos/leanmapper v3.1.0 API documentation API documentation generated by ApiGen