Air-Quality-Web/logic/Actions/IAction.php

15 lines
328 B
PHP
Raw Permalink Normal View History

<?php
namespace AirQuality\Actions;
/**
* Interface that defines the functionality of an action that requests can be routed to.
*/
interface IAction {
/**
* Handles the a request for the action.
* @return bool Whether the request was handled successfully or not.
*/
public function handle() : bool;
}