mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-02-24 02:51:56 +01:00
24 lines
530 B
PHP
24 lines
530 B
PHP
|
<?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;
|
||
|
}
|