mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-24 06:43:01 +00:00
14 lines
328 B
PHP
14 lines
328 B
PHP
<?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;
|
|
}
|