PHP Interface Sulu\Component\Hash\RequestHashCheckerInterface

Afficher le fichier Open project: sulu/sulu

Méthodes publiques

Méthode Description
checkHash ( Request $request, object $object, mixed $identifier ) : boolean Returns true if the request contains the correct hash for the given object.

Method Details

checkHash() public méthode

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
Résultat boolean