would you also want to use the constant within the controller to check for?

e.g.

```php
if (false === $this->get('security.context')->isGranted(PostVoter::VIEW, $post)) {
    throw new AccessDeniedException('Unauthorised access!');
}
```