Neos\Flow\Security\Authorization\Privilege\PrivilegeInterface::matchesSubject PHP Method

matchesSubject() public method

Returns TRUE, if this privilege covers the given subject
public matchesSubject ( PrivilegeSubjectInterface $subject ) : boolean
$subject PrivilegeSubjectInterface
return boolean
    public function matchesSubject(PrivilegeSubjectInterface $subject);