| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 14 | class Assets |
||
| 15 | { |
||
| 16 | use Assets\Traits\HasEntriesTrait; |
||
| 17 | use SingletonTrait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Magic Method for calling methods on the default container. |
||
| 21 | * |
||
| 22 | * <code> |
||
| 23 | * // Call the "styles" method on the default container |
||
| 24 | * echo Orchestra\Asset::styles(); |
||
| 25 | * |
||
| 26 | * // Call the "add" method on the default container |
||
| 27 | * Orchestra\Asset::add('jquery', 'js/jquery.js'); |
||
| 28 | * </code> |
||
| 29 | * |
||
| 30 | * @return mixed |
||
| 31 | */ |
||
| 32 | public function __call(string $method, array $parameters) |
||
| 37 |