1 | <?php |
||
12 | class Index extends Base |
||
13 | { |
||
14 | /** |
||
15 | * @param \Base $f3 |
||
16 | * @param array $params |
||
17 | * @return void |
||
18 | */ |
||
19 | public function index(\Base $f3, array $params = []) |
||
25 | |||
26 | /** |
||
27 | * example to test if already running |
||
28 | * run cli.php '/index/running' in two different terminals |
||
29 | * @param \Base $f3 |
||
30 | * @param array $params |
||
31 | * @return void |
||
32 | */ |
||
33 | public function running(\Base $f3, array $params = []) |
||
55 | } |
||
56 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.