| 1 | <?php |
||
| 7 | class ServiceExampleController implements ControllerRouteInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | protected $testData; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected $testData1; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $testData2; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param Application $app |
||
| 26 | * @param string $serviceId |
||
| 27 | */ |
||
| 28 | public static function addRoutes(Application $app, $serviceId) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param array $testData |
||
| 38 | */ |
||
| 39 | public function __construct(array $testData) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param array $testData1 |
||
| 46 | */ |
||
| 47 | public function setTestData1(array $testData1) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param array $testData2 |
||
| 54 | */ |
||
| 55 | public function setTestData2(array $testData2) |
||
| 59 | |||
| 60 | public function indexAction() |
||
| 70 | } |
||
| 71 |