| 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 | /**  | 
            ||
| 24 | *  | 
            ||
| 25 | */  | 
            ||
| 26 | public function get()  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | *  | 
            ||
| 36 | */  | 
            ||
| 37 | public function post()  | 
            ||
| 59 | |||
| 60 | /**  | 
            ||
| 61 | * @return Xhgui_WatchedFunctionsStorageInterface  | 
            ||
| 62 | */  | 
            ||
| 63 | public function getWatches()  | 
            ||
| 67 | |||
| 68 | /**  | 
            ||
| 69 | * @param Xhgui_WatchedFunctionsStorageInterface $watches  | 
            ||
| 70 | */  | 
            ||
| 71 | public function setWatches($watches)  | 
            ||
| 75 | }  | 
            ||
| 76 |