PHP Class LeanMapper\DataDifference

Author: Vojtěch Kohout
Datei anzeigen Open project: tharos/leanmapper

Public Methods

Method Description
__construct ( array $added, array $removed )
getByPivot ( mixed $pivot ) : array Gets differences by given pivot
mayHaveAny ( ) : boolean Performs quick lookup whether current instance may have any differences

Method Details

__construct() public method

public __construct ( array $added, array $removed )
$added array
$removed array

getByPivot() public method

Gets differences by given pivot
public getByPivot ( mixed $pivot ) : array
$pivot mixed
return array

mayHaveAny() public method

Performs quick lookup whether current instance may have any differences
public mayHaveAny ( ) : boolean
return boolean