@@ -10,14 +10,9 @@ |
||
| 10 | 10 | use Symfony\Component\HttpFoundation\Request; |
| 11 | 11 | use Symfony\Component\HttpFoundation\Response; |
| 12 | 12 | use Symfony\Component\Routing\Annotation\Route; |
| 13 | -use Oc\Repository\Exception\RecordAlreadyExistsException; |
|
| 14 | -use Oc\Repository\Exception\RecordNotFoundException; |
|
| 15 | -use Oc\Repository\Exception\RecordNotPersistedException; |
|
| 16 | -use Oc\Repository\Exception\RecordsNotFoundException; |
|
| 17 | 13 | use Oc\Repository\CachesRepository; |
| 18 | 14 | use Oc\Repository\UserRepository; |
| 19 | 15 | use Oc\Repository\SecurityRolesRepository; |
| 20 | -use Oc\Entity\CachesEntity; |
|
| 21 | 16 | |
| 22 | 17 | class CachesController extends AbstractController |
| 23 | 18 | { |
@@ -74,6 +74,9 @@ discard block |
||
| 74 | 74 | return $this->cache_id; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | + /** |
|
| 78 | + * @param integer $arg |
|
| 79 | + */ |
|
| 77 | 80 | public function setCacheId($arg) |
| 78 | 81 | { |
| 79 | 82 | $this->cache_id = $arg; |
@@ -85,6 +88,9 @@ discard block |
||
| 85 | 88 | return $this->name; |
| 86 | 89 | } |
| 87 | 90 | |
| 91 | + /** |
|
| 92 | + * @param string $arg |
|
| 93 | + */ |
|
| 88 | 94 | public function setName($arg) |
| 89 | 95 | { |
| 90 | 96 | $this->name = $arg; |
@@ -4,9 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\DBAL\Connection; |
| 6 | 6 | use Oc\Entity\CachesEntity; |
| 7 | -use Oc\Repository\Exception\RecordAlreadyExistsException; |
|
| 8 | -use Oc\Repository\Exception\RecordNotFoundException; |
|
| 9 | -use Oc\Repository\Exception\RecordNotPersistedException; |
|
| 10 | 7 | use Oc\Repository\Exception\RecordsNotFoundException; |
| 11 | 8 | |
| 12 | 9 | class CachesRepository |