/** * @param string $attribute * @param CurriculumInventorySequenceBlockInterface $block * @param UserInterface $user * @return bool */ protected function isGranted($attribute, $block, $user = null) { return parent::isGranted($attribute, $block->getReport(), $user); }
/** * @param string $attribute * @param CurriculumInventorySequenceBlockInterface $block * @param TokenInterface $token * @return bool */ protected function voteOnAttribute($attribute, $block, TokenInterface $token) { return parent::voteOnAttribute($attribute, $block->getReport(), $token); }