public function isGranted($attributes, $object = null) { return $this['security.authorization_checker']->isGranted($attributes, $object); }