@@ 94-101 (lines=8) @@ | ||
91 | * |
|
92 | * @throws \RunOpenCode\AbstractBuilder\Exception\InvalidArgumentException |
|
93 | */ |
|
94 | public function __set($name, $value) |
|
95 | { |
|
96 | if (!array_key_exists($name, $this->_builder_placeholder_data_87cd3fb3_4fde_49d1_a91f_6411e0862c32)) { |
|
97 | throw new InvalidArgumentException(sprintf('Unknown property "%s" in "%s".', $name, get_class($this))); |
|
98 | } |
|
99 | ||
100 | $this->_builder_placeholder_data_87cd3fb3_4fde_49d1_a91f_6411e0862c32[$name] = $value; |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * Get building class constructor argument. |
|
@@ 111-118 (lines=8) @@ | ||
108 | * |
|
109 | * @throws \RunOpenCode\AbstractBuilder\Exception\InvalidArgumentException |
|
110 | */ |
|
111 | public function __get($name) |
|
112 | { |
|
113 | if (!array_key_exists($name, $this->_builder_placeholder_data_87cd3fb3_4fde_49d1_a91f_6411e0862c32)) { |
|
114 | throw new InvalidArgumentException(sprintf('Unknown property "%s" in "%s".', $name, get_class($this))); |
|
115 | } |
|
116 | ||
117 | return $this->_builder_placeholder_data_87cd3fb3_4fde_49d1_a91f_6411e0862c32[$name]; |
|
118 | } |
|
119 | ||
120 | /** |
|
121 | * Check if building class constructor argument is defined. |