Find AccessControl by its entities type and id and the role id.
public findByTypeAndIdAndRole ( string $type, integer $id, integer $roleId ) : Sulu\Component\Security\Authorization\AccessControl\AccessControlInterface | ||
$type | string | The type of the AccessControl |
$id | integer | The id of the AccessControl |
$roleId | integer | The role id of the AccessControl |
return | Sulu\Component\Security\Authorization\AccessControl\AccessControlInterface |