@@ 342-345 (lines=4) @@ | ||
339 | */ |
|
340 | public function __call($name, array $arguments) |
|
341 | { |
|
342 | if (starts_with($name, ['include'])) { |
|
343 | $includeName = lcfirst(substr($name, strlen('include'))); |
|
344 | ||
345 | return $this->parseIncludes($includeName); |
|
346 | } |
|
347 | ||
348 | if (starts_with($name, ['exclude'])) { |
|
@@ 348-351 (lines=4) @@ | ||
345 | return $this->parseIncludes($includeName); |
|
346 | } |
|
347 | ||
348 | if (starts_with($name, ['exclude'])) { |
|
349 | $excludeName = lcfirst(substr($name, strlen('exclude'))); |
|
350 | ||
351 | return $this->parseExcludes($excludeName); |
|
352 | } |
|
353 | ||
354 | trigger_error('Call to undefined method '.__CLASS__.'::'.$name.'()', E_USER_ERROR); |