|
@@ 152-154 (lines=3) @@
|
| 149 |
|
throw new BadMethodCallException(sprintf('Unknown method "%s" in "%s".', $name, get_class($this))); |
| 150 |
|
} |
| 151 |
|
|
| 152 |
|
if (count($arguments) !== 1 && strpos($name, 'set') === 0) { |
| 153 |
|
throw new BadMethodCallException(sprintf('Method "%s" in "%s" expects exactly one parameter.', $name, get_class($this))); |
| 154 |
|
} |
| 155 |
|
|
| 156 |
|
if (count($arguments) !== 0 && strpos($name, 'get') === 0) { |
| 157 |
|
throw new BadMethodCallException(sprintf('Method "%s" in "%s" does not use any parameter.', $name, get_class($this))); |
|
@@ 156-158 (lines=3) @@
|
| 153 |
|
throw new BadMethodCallException(sprintf('Method "%s" in "%s" expects exactly one parameter.', $name, get_class($this))); |
| 154 |
|
} |
| 155 |
|
|
| 156 |
|
if (count($arguments) !== 0 && strpos($name, 'get') === 0) { |
| 157 |
|
throw new BadMethodCallException(sprintf('Method "%s" in "%s" does not use any parameter.', $name, get_class($this))); |
| 158 |
|
} |
| 159 |
|
|
| 160 |
|
if (strpos($name, 'get') === 0) { |
| 161 |
|
return $this->_builder_placeholder_data_87cd3fb3_4fde_49d1_a91f_6411e0862c32[$property]; |