We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class FieldGroup |
||
| 6 | { |
||
| 7 | protected $fields; |
||
| 8 | |||
| 9 | public function __construct(...$fields) |
||
| 12 | } |
||
| 13 | |||
| 14 | // ------------- |
||
| 15 | // MAGIC METHODS |
||
| 16 | // ------------- |
||
| 17 | |||
| 18 | /** |
||
| 19 | * We foward any call into FieldGroup class to the Field class once per defined field. |
||
| 20 | * |
||
| 21 | * @param string $method The method being called that doesn't exist. |
||
| 22 | * @param array $parameters The arguments when that method was called. |
||
| 23 | * |
||
| 24 | * @return FieldGroup |
||
| 25 | */ |
||
| 26 | public function __call($method, $parameter) |
||
| 36 |