@@ -8,19 +8,14 @@ |
||
| 8 | 8 | use App\Service\User\RegisterService; |
| 9 | 9 | use Doctrine\ORM\EntityManagerInterface; |
| 10 | 10 | use FOS\RestBundle\Controller\FOSRestController; |
| 11 | -use Symfony\Component\Form\FormFactoryInterface; |
|
| 12 | -use Symfony\Component\HttpFoundation\Request; |
|
| 13 | 11 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
| 14 | 12 | use Nelmio\ApiDocBundle\Annotation\Model; |
| 15 | -use Nelmio\ApiDocBundle\Annotation\Security; |
|
| 16 | 13 | use Swagger\Annotations as SWG; |
| 17 | 14 | use Symfony\Component\Routing\Annotation\Route; |
| 18 | -use App\Form\RegistrationForm; |
|
| 19 | 15 | use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface; |
| 20 | 16 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
| 21 | 17 | use FOS\RestBundle\View\ViewHandler; |
| 22 | 18 | use FOS\RestBundle\View\ViewHandlerInterface; |
| 23 | -use FOS\RestBundle\View\View; |
|
| 24 | 19 | |
| 25 | 20 | class UserController extends FOSRestController |
| 26 | 21 | { |