|
@@ 140-144 (lines=5) @@
|
| 137 |
|
if (array_key_exists('self', $mapping) && |
| 138 |
|
is_bool($mapping['self']) && |
| 139 |
|
$mapping['self'] === true) { |
| 140 |
|
if (!method_exists($this, $mapping['setter'])) { |
| 141 |
|
$this->addLogEntry('"' . __CLASS__ . '" cannot find mapping "setter" method on object "' . get_class($this) . '" named "' . $mapping['setter'] . '".', |
| 142 |
|
'error'); |
| 143 |
|
continue; |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
$this->{$mapping['setter']}(config($key)); |
| 147 |
|
} else { |
|
@@ 148-152 (lines=5) @@
|
| 145 |
|
|
| 146 |
|
$this->{$mapping['setter']}(config($key)); |
| 147 |
|
} else { |
| 148 |
|
if (!method_exists($this->writer, $mapping['setter'])) { |
| 149 |
|
$this->addLogEntry('"' . __CLASS__ . '" cannot find mapping "setter" method on object "' . get_class($this->writer) . '" named "' . $mapping['setter'] . '".', |
| 150 |
|
'error'); |
| 151 |
|
continue; |
| 152 |
|
} |
| 153 |
|
|
| 154 |
|
$this->writer->{$mapping['setter']}(config($key)); |
| 155 |
|
} |