@@ -12,8 +12,6 @@ |
||
12 | 12 | namespace PhraseanetSDK\Entity; |
13 | 13 | |
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | -use PhraseanetSDK\Annotation\ApiField as ApiField; |
|
16 | -use PhraseanetSDK\Annotation\ApiRelation as ApiRelation; |
|
17 | 15 | use PhraseanetSDK\EntityManager; |
18 | 16 | |
19 | 17 | class Query |
@@ -190,14 +190,14 @@ |
||
190 | 190 | return $this->results ?: $this->results = Result::fromValue($this->entityManager, $this->source->results); |
191 | 191 | } |
192 | 192 | |
193 | - /** |
|
194 | - * Set or override value in protected object 'source' (\stdClass type) |
|
195 | - * |
|
196 | - * @param $pKey string |
|
197 | - * @param $pValue mixed |
|
198 | - */ |
|
193 | + /** |
|
194 | + * Set or override value in protected object 'source' (\stdClass type) |
|
195 | + * |
|
196 | + * @param $pKey string |
|
197 | + * @param $pValue mixed |
|
198 | + */ |
|
199 | 199 | public function setSourceEntry($pKey, $pValue) |
200 | - { |
|
201 | - $this->source->$pKey = $pValue; |
|
202 | - } |
|
200 | + { |
|
201 | + $this->source->$pKey = $pValue; |
|
202 | + } |
|
203 | 203 | } |
@@ -12,8 +12,6 @@ |
||
12 | 12 | namespace PhraseanetSDK\Entity; |
13 | 13 | |
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | -use PhraseanetSDK\Annotation\ApiField as ApiField; |
|
16 | -use PhraseanetSDK\Annotation\ApiRelation as ApiRelation; |
|
17 | 15 | use PhraseanetSDK\EntityManager; |
18 | 16 | |
19 | 17 | class Story |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use PhraseanetSDK\Entity\FeedEntry; |
15 | 15 | use PhraseanetSDK\Exception\RuntimeException; |
16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
17 | -use PhraseanetSDK\EntityHydrator; |
|
18 | 17 | |
19 | 18 | class Entry extends AbstractRepository |
20 | 19 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use PhraseanetSDK\Exception\RuntimeException; |
15 | 15 | use PhraseanetSDK\Exception\NotFoundException; |
16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
17 | -use PhraseanetSDK\EntityHydrator; |
|
18 | 17 | |
19 | 18 | class Subdef extends AbstractRepository |
20 | 19 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use PhraseanetSDK\AbstractRepository; |
15 | 15 | use PhraseanetSDK\Exception\RuntimeException; |
16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
17 | -use PhraseanetSDK\EntityHydrator; |
|
18 | 17 | |
19 | 18 | class Basket extends AbstractRepository |
20 | 19 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use PhraseanetSDK\AbstractRepository; |
15 | 15 | use PhraseanetSDK\Exception\RuntimeException; |
16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
17 | -use PhraseanetSDK\EntityHydrator; |
|
18 | 17 | |
19 | 18 | class BasketElement extends AbstractRepository |
20 | 19 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use PhraseanetSDK\AbstractRepository; |
15 | 15 | use PhraseanetSDK\Exception\RuntimeException; |
16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
17 | -use PhraseanetSDK\EntityHydrator; |
|
18 | 17 | |
19 | 18 | class Databox extends AbstractRepository |
20 | 19 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use PhraseanetSDK\AbstractRepository; |
15 | 15 | use PhraseanetSDK\Exception\RuntimeException; |
16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
17 | -use PhraseanetSDK\EntityHydrator; |
|
18 | 17 | |
19 | 18 | class DataboxCollection extends AbstractRepository |
20 | 19 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use PhraseanetSDK\AbstractRepository; |
15 | 15 | use PhraseanetSDK\Exception\RuntimeException; |
16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
17 | -use PhraseanetSDK\EntityHydrator; |
|
18 | 17 | |
19 | 18 | class DataboxDocumentStructure extends AbstractRepository |
20 | 19 | { |