HigherOrderWhenProxy
class HigherOrderWhenProxy mixin Enumerable (View source)
Свойства
| protected Enumerable | $collection | Коллекция, над которой выполняется операция. |
|
| protected bool | $condition | Условие для проксирования. |
Методы
| void |
__construct(Enumerable $collection, bool $condition)
Создать новый экземпляр прокси. |
|
| mixed |
__get(string $key)
Проксирование доступа к атрибуту коллекции. |
|
| mixed |
__call(string $method, array $parameters)
Проксирование вызова метода коллекции. |
Подробности
void __construct(Enumerable $collection, bool $condition)
Создать новый экземпляр прокси.
mixed __get(string $key)
Проксирование доступа к атрибуту коллекции.
mixed __call(string $method, array $parameters)
Проксирование вызова метода коллекции.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Support/HigherOrderWhenProxy.html