isSecure(); } /** * @todo Implement! * {@inheritdoc} * * @see \Infinito\Domain\Action\AbstractAction::isValid() */ protected function isValid(): bool { return true; } /** * {@inheritdoc} * * @see \Infinito\Domain\Action\AbstractAction::proccess() */ protected function proccess() { $entityManager = $this->actionService->getEntityManager(); $entity = $this->actionService->getRequestedAction()->getRequestedEntity()->getEntity(); $entityManager->remove($entity); } }