PHP Interface Sulu\Component\Hash\RequestHashCheckerInterface

Datei anzeigen Open project: sulu/sulu

Public Methods

Method 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 method

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
return boolean