| Total Complexity | 1 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class DefaultController extends Controller |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * This is the documentation description of your method, it will appear |
||
| 15 | * on a specific pane. It will read all the text until the first |
||
| 16 | * annotation. |
||
| 17 | * |
||
| 18 | * @Nelmio\ApiDocBundle\Annotation\ApiDoc( |
||
| 19 | * resource=false, |
||
| 20 | * description="This is a description of your API method", |
||
| 21 | * headers={ |
||
| 22 | * { |
||
| 23 | * "name"="Access-Token", |
||
| 24 | * "description"="Domain ID or token" |
||
| 25 | * } |
||
| 26 | * }, |
||
| 27 | * statusCodes={ |
||
| 28 | * 200="Returned when successful", |
||
| 29 | * 403="Returned when the user is not authorized to say hello", |
||
| 30 | * 404={ |
||
| 31 | * "Returned when the user is not found", |
||
| 32 | * "Returned when something else is not found" |
||
| 33 | * } |
||
| 34 | * } |
||
| 35 | * ) |
||
| 36 | */ |
||
| 37 | public function getStatusAction() |
||
| 43 | } |