@@ -12,6 +12,9 @@ discard block |
||
| 12 | 12 | { |
| 13 | 13 | abstract public function preSave(BaseEntityInterface $entity); |
| 14 | 14 | |
| 15 | + /** |
|
| 16 | + * @return string |
|
| 17 | + */ |
|
| 15 | 18 | abstract public function getMessageNotFound(); |
| 16 | 19 | |
| 17 | 20 | public function validate(BaseEntityInterface $entity) |
@@ -40,6 +43,9 @@ discard block |
||
| 40 | 43 | return parent::getClassMetadata(); |
| 41 | 44 | } |
| 42 | 45 | |
| 46 | + /** |
|
| 47 | + * @return string|null |
|
| 48 | + */ |
|
| 43 | 49 | public function getEntityName() |
| 44 | 50 | { |
| 45 | 51 | return parent::getDocumentName(); |
@@ -137,7 +143,7 @@ discard block |
||
| 137 | 143 | } |
| 138 | 144 | |
| 139 | 145 | /** |
| 140 | - * @param Bludata\Entities\BaseEntityInterface $entity |
|
| 146 | + * @param BaseEntityInterface $entity |
|
| 141 | 147 | * |
| 142 | 148 | * @return Bludata\Repositories\QueryWorker |
| 143 | 149 | */ |
@@ -149,7 +155,7 @@ discard block |
||
| 149 | 155 | } |
| 150 | 156 | |
| 151 | 157 | /** |
| 152 | - * @param Bludata\Entities\BaseEntityInterface $entity |
|
| 158 | + * @param BaseEntityInterface $entity |
|
| 153 | 159 | * |
| 154 | 160 | * @return Bludata\Repositories\QueryWorker |
| 155 | 161 | */ |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * |
| 26 | 26 | * @param \Doctrine\ORM\Query\SqlWalker $sqlWalker |
| 27 | 27 | * |
| 28 | - * @return void |
|
| 28 | + * @return string |
|
| 29 | 29 | */ |
| 30 | 30 | public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker) |
| 31 | 31 | { |