| 1 | <?php |
||
| 16 | abstract class AbstractBuilder |
||
| 17 | { |
||
| 18 | /* ----------------------------------------------------------------- |
||
| 19 | | Traits |
||
| 20 | | ----------------------------------------------------------------- |
||
| 21 | */ |
||
| 22 | |||
| 23 | 1 | use Macroable, Componentable { |
|
| 24 | Macroable::__call as macroCall; |
||
| 25 | Componentable::__call as componentCall; |
||
| 26 | } |
||
| 27 | |||
| 28 | /* ----------------------------------------------------------------- |
||
| 29 | | Main Methods |
||
| 30 | | ----------------------------------------------------------------- |
||
| 31 | */ |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Dynamically handle calls to the class. |
||
| 35 | * |
||
| 36 | * @param string $method |
||
| 37 | * @param array $parameters |
||
| 38 | * |
||
| 39 | * @return mixed |
||
| 40 | * |
||
| 41 | * @throws \BadMethodCallException |
||
| 42 | */ |
||
| 43 | 12 | public function __call($method, $parameters) |
|
| 52 | } |
||
| 53 |