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
|
@@ 128-130 (lines=3) @@
|
| 125 |
|
} |
| 126 |
|
|
| 127 |
|
} |
| 128 |
|
elseif(is_string($field) && isset($row[strtolower($field)])){ |
| 129 |
|
$value = $row[strtolower($field)]; |
| 130 |
|
} |
| 131 |
|
|
| 132 |
|
if($value!==false) |
| 133 |
|
$Entity->{$method_set}($value); |