1: <?php
2: /**
3: * This file contains the declaration of the interface IRequestHandler for handling the API requests.
4: *
5: * @package System
6: *
7: * @author Oleg Schildt
8: */
9:
10: namespace SmartFactory\Interfaces;
11:
12: /**
13: * Interface for handling the API requests.
14: *
15: * @author Oleg Schildt
16: */
17: interface IRequestHandler
18: {
19: /**
20: * Method that is called to handle the request.
21: *
22: * @return void
23: *
24: * @author Oleg Schildt
25: */
26: function handleRequest(): void;
27: } // IRequestHandler