infinito/application/symfony/src/Domain/ActionManagement/ActionServiceInterface.php

24 lines
530 B
PHP
Raw Normal View History

2019-01-27 09:35:43 +01:00
<?php
namespace App\Domain\ActionManagement;
use App\Domain\RequestManagement\Action\RequestedActionInterface;
/**
* This interface offers all classes for managing an Action.
*
* @author kevinfrantz
*/
interface ActionServiceInterface
{
/**
* @return RequestedActionInterface Returns the requested action
*/
public function getRequestedAction(): RequestedActionInterface;
/**
* @return bool true if the action permissions are right
*/
public function isRequestedActionSecure(): bool;
}