@@ 403-407 (lines=5) @@ | ||
400 | */ |
|
401 | public function __call($name, array $arguments) |
|
402 | { |
|
403 | if ($this->startsWith($name, ['include'])) { |
|
404 | $includeName = lcfirst(substr($name, strlen('include'))); |
|
405 | ||
406 | return $this->parseIncludes($includeName); |
|
407 | } |
|
408 | ||
409 | if ($this->startsWith($name, ['exclude'])) { |
|
410 | $excludeName = lcfirst(substr($name, strlen('exclude'))); |
|
@@ 409-413 (lines=5) @@ | ||
406 | return $this->parseIncludes($includeName); |
|
407 | } |
|
408 | ||
409 | if ($this->startsWith($name, ['exclude'])) { |
|
410 | $excludeName = lcfirst(substr($name, strlen('exclude'))); |
|
411 | ||
412 | return $this->parseExcludes($excludeName); |
|
413 | } |
|
414 | ||
415 | trigger_error('Call to undefined method '.__CLASS__.'::'.$name.'()', E_USER_ERROR); |
|
416 | } |