| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class SkeletonController extends AbstractApiController |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @return \Xervice\Service\Application\Response\ApiResponse |
||
| 15 | */ |
||
| 16 | public function registerSekeleton() |
||
| 17 | { |
||
| 18 | $dataProvider = new UserDataProvider(); |
||
| 19 | $dataProvider->setEmail('[email protected]') |
||
| 20 | ->setPassword('password') |
||
| 21 | ->setCompany('Company') |
||
| 22 | ->setFirstname('Firstname') |
||
| 23 | ->setLastname('Lastname'); |
||
| 24 | |||
| 25 | return $this->jsonResponse($dataProvider); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return \Xervice\Service\Application\Response\ApiResponse |
||
| 30 | */ |
||
| 31 | public function loginSekeleton() |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return \Xervice\Service\Application\Response\ApiResponse |
||
| 42 | */ |
||
| 43 | public function changePasswordSkeleton() |
||
| 50 | } |
||
| 51 | } |