Finds all AccessControls for the given entity type and id.
public findByTypeAndId ( string $type, integer $id ) : Sulu\Component\Security\Authorization\AccessControl\AccessControlInterface[] | ||
$type | string | The type of the AccessControl |
$id | integer | The id of the AccessControl |
return | Sulu\Component\Security\Authorization\AccessControl\AccessControlInterface[] |