| @@ 116-119 (lines=4) @@ | ||
| 113 | ||
| 114 | if (substr($method, 0, 3) == 'get') { |
|
| 115 | $propertyName = lcfirst(substr($method, 3)); |
|
| 116 | } elseif (substr($method, 0, 3) == 'set') { |
|
| 117 | $propertyName = lcfirst(substr($method, 3)); |
|
| 118 | $setter = true; |
|
| 119 | } elseif (substr($method, 0, 2) == 'is') { |
|
| 120 | $propertyName = lcfirst(substr($method, 2)); |
|
| 121 | } |
|
| 122 | if ($propertyName !== false) { |
|
| @@ 43-45 (lines=3) @@ | ||
| 40 | $this->checkBuild(); |
|
| 41 | ||
| 42 | return call_user_func_array([$this->config, $method], $arguments); |
|
| 43 | } elseif (substr($method, 0, 3) == 'get') { |
|
| 44 | $propertyName = lcfirst(substr($method, 3)); |
|
| 45 | } elseif (substr($method, 0, 3) == 'set') { |
|
| 46 | $propertyName = lcfirst(substr($method, 3)); |
|
| 47 | $this->config->set($propertyName, $arguments[0]); |
|
| 48 | ||