@@ 473-477 (lines=5) @@ | ||
470 | */ |
|
471 | public function __call($name, array $arguments) |
|
472 | { |
|
473 | if ($this->startsWith($name, ['include'])) { |
|
474 | $includeName = lcfirst(substr($name, strlen('include'))); |
|
475 | ||
476 | return $this->parseIncludes($includeName); |
|
477 | } |
|
478 | ||
479 | if ($this->startsWith($name, ['exclude'])) { |
|
480 | $excludeName = lcfirst(substr($name, strlen('exclude'))); |
|
@@ 479-483 (lines=5) @@ | ||
476 | return $this->parseIncludes($includeName); |
|
477 | } |
|
478 | ||
479 | if ($this->startsWith($name, ['exclude'])) { |
|
480 | $excludeName = lcfirst(substr($name, strlen('exclude'))); |
|
481 | ||
482 | return $this->parseExcludes($excludeName); |
|
483 | } |
|
484 | ||
485 | trigger_error('Call to undefined method '.__CLASS__.'::'.$name.'()', E_USER_ERROR); |
|
486 | } |