| 1 | <?php |
||
| 5 | class Xhgui_Controller_Watch extends Xhgui_Controller |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var \Xhgui_WatchedFunctionsStorageInterface |
||
| 9 | */ |
||
| 10 | protected $watches; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Xhgui_Controller_Watch constructor. |
||
| 14 | * @param Slim $app |
||
| 15 | * @param Xhgui_WatchedFunctionsStorageInterface $watches |
||
| 16 | */ |
||
| 17 | public function __construct(Slim $app, \Xhgui_WatchedFunctionsStorageInterface $watches) |
||
| 22 | |||
| 23 | public function get() |
||
| 30 | |||
| 31 | public function post() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return Xhgui_WatchedFunctionsStorageInterface |
||
| 56 | */ |
||
| 57 | public function getWatches() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @param Xhgui_WatchedFunctionsStorageInterface $watches |
||
| 64 | */ |
||
| 65 | public function setWatches($watches) |
||
| 69 | } |
||
| 70 |