|
@@ 269-276 (lines=8) @@
|
| 266 |
|
* |
| 267 |
|
* @return mixed |
| 268 |
|
*/ |
| 269 |
|
protected function __doGet($name) |
| 270 |
|
{ |
| 271 |
|
if (!array_key_exists($name, $this->_builder_placeholder_data_87cd3fb3_4fde_49d1_a91f_6411e0862c32)) { |
| 272 |
|
throw new InvalidArgumentException(sprintf('Unknown property "%s" in "%s".', $name, get_class($this))); |
| 273 |
|
} |
| 274 |
|
|
| 275 |
|
return $this->_builder_placeholder_data_87cd3fb3_4fde_49d1_a91f_6411e0862c32[$name]; |
| 276 |
|
} |
| 277 |
|
|
| 278 |
|
/** |
| 279 |
|
* Force set value to value storage, without consulting setter. |
|
@@ 289-297 (lines=9) @@
|
| 286 |
|
* @return $this Fluent interface. |
| 287 |
|
* @throws \RunOpenCode\AbstractBuilder\Exception\InvalidArgumentException |
| 288 |
|
*/ |
| 289 |
|
protected function __doSet($name, $value) |
| 290 |
|
{ |
| 291 |
|
if (!array_key_exists($name, $this->_builder_placeholder_data_87cd3fb3_4fde_49d1_a91f_6411e0862c32)) { |
| 292 |
|
throw new InvalidArgumentException(sprintf('Unknown property "%s" in "%s".', $name, get_class($this))); |
| 293 |
|
} |
| 294 |
|
|
| 295 |
|
$this->_builder_placeholder_data_87cd3fb3_4fde_49d1_a91f_6411e0862c32[$name] = $value; |
| 296 |
|
return $this; |
| 297 |
|
} |
| 298 |
|
|
| 299 |
|
/** |
| 300 |
|
* Configure builder parameters that will be passed to building class constructor. |