| 1 | <?php |
||
| 18 | class ApiController extends Controller |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Returns a list of all the expectations that are installed and available to use in tests |
||
| 22 | * |
||
| 23 | * @Route("") |
||
| 24 | * @Method({"GET"}) |
||
| 25 | * @Security("has_role('ROLE_ADMIN')") |
||
| 26 | * @ApiDoc( |
||
| 27 | * resource=true, |
||
| 28 | * tags={ |
||
| 29 | * "Super Admin" = "#ff1919", |
||
| 30 | * "Admin" = "#ffff33" |
||
| 31 | * } |
||
| 32 | * ) |
||
| 33 | */ |
||
| 34 | 1 | public function getAllAction() |
|
| 40 | } |
||
| 41 |