@@ 166-168 (lines=3) @@ | ||
163 | throw new BadMethodCallException(sprintf('Unknown method "%s" in "%s".', $name, get_class($this))); |
|
164 | } |
|
165 | ||
166 | if (count($arguments) !== 1 && strpos($name, 'set') === 0) { |
|
167 | throw new BadMethodCallException(sprintf('Method "%s" in "%s" expects exactly one parameter.', $name, get_class($this))); |
|
168 | } |
|
169 | ||
170 | if (count($arguments) !== 0 && strpos($name, 'get') === 0) { |
|
171 | throw new BadMethodCallException(sprintf('Method "%s" in "%s" does not use any parameter.', $name, get_class($this))); |
|
@@ 170-172 (lines=3) @@ | ||
167 | throw new BadMethodCallException(sprintf('Method "%s" in "%s" expects exactly one parameter.', $name, get_class($this))); |
|
168 | } |
|
169 | ||
170 | if (count($arguments) !== 0 && strpos($name, 'get') === 0) { |
|
171 | throw new BadMethodCallException(sprintf('Method "%s" in "%s" does not use any parameter.', $name, get_class($this))); |
|
172 | } |
|
173 | ||
174 | if (strpos($name, 'get') === 0) { |
|
175 | return $this->_builder_placeholder_data_87cd3fb3_4fde_49d1_a91f_6411e0862c32[$property]; |