src/AbstractDataMapper.php 1 location
|
@@ 154-156 (lines=3) @@
|
| 151 |
|
if(method_exists($this, 'onBuild'.$propery )){ |
| 152 |
|
$value = $this->{'onBuild'.$propery}($field,$row); |
| 153 |
|
} |
| 154 |
|
elseif(is_string($field) && isset($row[strtolower($field)])){ |
| 155 |
|
$value = $row[strtolower($field)]; |
| 156 |
|
} |
| 157 |
|
|
| 158 |
|
if($value!==false) |
| 159 |
|
$Entity->{$method_set}($value); |
src/AbstractOptDataMapper.php 1 location
|
@@ 131-133 (lines=3) @@
|
| 128 |
|
} |
| 129 |
|
|
| 130 |
|
} |
| 131 |
|
elseif(is_string($field) && isset($row[strtolower($field)])){ |
| 132 |
|
$value = $row[strtolower($field)]; |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
if($value!==false) |
| 136 |
|
$Entity->{$method_set}($value); |