@@ -37,7 +37,7 @@ |
||
| 37 | 37 | } |
| 38 | 38 | } |
| 39 | 39 | } |
| 40 | - throw new BadMethodCallException("Call to undefined method ". get_class($this).'::'.$name); |
|
| 40 | + throw new BadMethodCallException("Call to undefined method ".get_class($this).'::'.$name); |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | public function __debugInfo() |
@@ -274,6 +274,9 @@ |
||
| 274 | 274 | return $this->formatNamesHash[$name]; |
| 275 | 275 | } |
| 276 | 276 | |
| 277 | + /** |
|
| 278 | + * @param string $name |
|
| 279 | + */ |
|
| 277 | 280 | public function getReference($name) |
| 278 | 281 | { |
| 279 | 282 | return $this->isReference($name) ? $this->formatReferences[$name] : null; |