mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-10-31 03:23: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;
|
|
}
|