Documentation

OrderVoter extends Voter
in package

Table of Contents

supports()  : bool
voteOnAttribute()  : bool

Methods

supports()

protected supports(string $attribute, mixed $subject) : bool
Parameters
$attribute : string
$subject : mixed
Return values
bool

voteOnAttribute()

protected voteOnAttribute(string $attribute, mixed $subject, TokenInterface $token) : bool
Parameters
$attribute : string
$subject : mixed
$token : TokenInterface
Return values
bool

Search results