PHP 인터페이스 Sulu\Component\Hash\RequestHashCheckerInterface

파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
checkHash ( Request $request, object $object, mixed $identifier ) : boolean Returns true if the request contains the correct hash for the given object.

메소드 상세

checkHash() 공개 메소드

Returns true if the request contains the correct hash for the given object.
public checkHash ( Request $request, object $object, mixed $identifier ) : boolean
$request Symfony\Component\HttpFoundation\Request The request to gather the required data from
$object object The object to hash for the check
$identifier mixed The identifier of the object, to pass for the error message
리턴 boolean