public function denyAccessUnlessGranted($attributes, $object = null, $message = 'Access Denied.') { parent::denyAccessUnlessGranted($attributes, $object, $message); }
/** * {@inheritdoc} * * @return boolean */ protected function denyAccessUnlessGranted($attributes, $object = null, $message = 'Access Denied.') { if ($this->getParameter('madrak_io_easy_admin.grants.check') === true) { return parent::denyAccessUnlessGranted($attributes, $object, $message); } }