@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | */ |
| 96 | 96 | protected function buildEntity(EntityInterface $Entity, array $row){ |
| 97 | 97 | |
| 98 | - foreach ($this->mapping_fields as $alias => $cfg ) { |
|
| 98 | + foreach ($this->mapping_fields as $alias => $cfg ) { |
|
| 99 | 99 | |
| 100 | 100 | $value = false; |
| 101 | 101 | |
@@ -132,9 +132,9 @@ discard block |
||
| 132 | 132 | if($value!==false) |
| 133 | 133 | $Entity->{$method_set}($value); |
| 134 | 134 | |
| 135 | - } |
|
| 135 | + } |
|
| 136 | 136 | |
| 137 | - return $Entity; |
|
| 137 | + return $Entity; |
|
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | |
| 149 | 149 | $row = []; |
| 150 | 150 | |
| 151 | - foreach ($this->mapping_fields as $alias => $cfg ) { |
|
| 151 | + foreach ($this->mapping_fields as $alias => $cfg ) { |
|
| 152 | 152 | |
| 153 | 153 | $field = $cfg['field']; |
| 154 | 154 | |
@@ -178,9 +178,9 @@ discard block |
||
| 178 | 178 | |
| 179 | 179 | $row[$field] = $value; |
| 180 | 180 | |
| 181 | - } |
|
| 181 | + } |
|
| 182 | 182 | |
| 183 | - return $row; |
|
| 183 | + return $row; |
|
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | |
@@ -191,8 +191,8 @@ discard block |
||
| 191 | 191 | } |
| 192 | 192 | |
| 193 | 193 | /** |
| 194 | - * Построение join-ов |
|
| 195 | - */ |
|
| 194 | + * Построение join-ов |
|
| 195 | + */ |
|
| 196 | 196 | protected function setRelations(ISpecificationCriteria $Specification){ |
| 197 | 197 | |
| 198 | 198 | $joins = []; |
@@ -8,12 +8,12 @@ |
||
| 8 | 8 | */ |
| 9 | 9 | interface EntityInterface |
| 10 | 10 | { |
| 11 | - //put your code here |
|
| 12 | - public function getId(); |
|
| 11 | + //put your code here |
|
| 12 | + public function getId(); |
|
| 13 | 13 | |
| 14 | - public function setId($id); |
|
| 14 | + public function setId($id); |
|
| 15 | 15 | |
| 16 | - public function getDeleted(); |
|
| 16 | + public function getDeleted(); |
|
| 17 | 17 | |
| 18 | - public function setDeleted($delete); |
|
| 18 | + public function setDeleted($delete); |
|
| 19 | 19 | } |