PHP 클래스 LeanMapper\DataDifference

저자: Vojtěch Kohout
파일 보기 프로젝트 열기: tharos/leanmapper

공개 메소드들

메소드 설명
__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