PHP Класс LeanMapper\DataDifference

Автор: Vojtěch Kohout
Показать файл Открыть проект

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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

getByPivot() публичный Метод

Gets differences by given pivot
public getByPivot ( mixed $pivot ) : array
$pivot mixed
Результат array

mayHaveAny() публичный Метод

Performs quick lookup whether current instance may have any differences
public mayHaveAny ( ) : boolean
Результат boolean