@@ -2,10 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace PlaygroundGame\Controller\Admin; |
4 | 4 | |
5 | -use PlaygroundGame\Entity\Game; |
|
6 | - |
|
7 | 5 | use PlaygroundGame\Entity\Mission; |
8 | - |
|
9 | 6 | use PlaygroundGame\Controller\Admin\GameController; |
10 | 7 | use PlaygroundGame\Service\Game as AdminGameService; |
11 | 8 | use Zend\View\Model\ViewModel; |
@@ -2,9 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace PlaygroundGame\Controller\Frontend; |
4 | 4 | |
5 | -use PlaygroundGame\Entity\Mission; |
|
6 | 5 | use PlaygroundGame\Controller\Frontend\GameController; |
7 | -use Zend\View\Model\ViewModel; |
|
8 | 6 | use Zend\Session\Container; |
9 | 7 | use PlaygroundGame\Service\GameService; |
10 | 8 |
@@ -5,12 +5,9 @@ |
||
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\ORM\Mapping as ORM; |
7 | 7 | use Doctrine\ORM\Mapping\HasLifecycleCallbacks; |
8 | -use Doctrine\ORM\Mapping\PrePersist; |
|
9 | -use Doctrine\ORM\Mapping\PreUpdate; |
|
10 | 8 | use Zend\InputFilter\InputFilter; |
11 | 9 | use Zend\InputFilter\Factory as InputFactory; |
12 | 10 | use Zend\InputFilter\InputFilterAwareInterface; |
13 | -use Zend\InputFilter\InputFilterInterface; |
|
14 | 11 | |
15 | 12 | /** |
16 | 13 | * @ORM\Entity @HasLifecycleCallbacks |
@@ -3,11 +3,7 @@ |
||
3 | 3 | namespace PlaygroundGame\Service; |
4 | 4 | |
5 | 5 | use Zend\ServiceManager\ServiceManagerAwareInterface; |
6 | -use Zend\ServiceManager\ServiceManager; |
|
7 | -use DoctrineModule\Validator\NoObjectExists as NoObjectExistsValidator; |
|
8 | 6 | use PlaygroundGame\Service\Game; |
9 | -use Zend\Db\Sql\Sql; |
|
10 | -use Zend\Db\Adapter\Adapter; |
|
11 | 7 | |
12 | 8 | class Mission extends Game implements ServiceManagerAwareInterface |
13 | 9 | { |