1 | <?php |
||
14 | abstract class Controller { |
||
15 | |||
16 | /** |
||
17 | * Invoker |
||
18 | * |
||
19 | * @return true|string|array : true on success, otherwise an error code, or an array of type [$param_name, $error_code], |
||
20 | * where $param_name is a name of param that has triggered the error, |
||
21 | * and $error_code is a language phrase related to the error |
||
22 | */ |
||
23 | |||
24 | public function __invoke(array $post) { |
||
48 | } |
||
49 | } |
||
50 |