| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class UserController extends BaseController |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Serve the avatar of the user |
||
| 20 | * @urlParam id string required The user uuid Example:379189d0-287f-4042-bf81-577deb7696f4 |
||
| 21 | * @urlParam dim integer required Width of the picture in pixels Example:300 |
||
| 22 | */ |
||
| 23 | public function avatar(string $uuid, int $width, GetAvatar $getAvatar) |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Get the context of a user |
||
| 30 | * @urlParam id string required the user uuid Example:379189d0-287f-4042-bf81-577deb7696f4 |
||
| 31 | */ |
||
| 32 | public function context(string $uuid, GetContextByUser $contextQueryByUser) |
||
| 37 |