Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/vendor/larastan/larastan/stubs/common/Conditionable.stub
Назад
<?php namespace Illuminate\Support\Traits; use Closure; trait Conditionable { /** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter * @template TWhenReturnType * * @param (\Closure($this): TWhenParameter)|TWhenParameter|null $value * @param (callable($this, TWhenParameter): TWhenReturnType)|null $callback * @param (callable($this, TWhenParameter): TWhenReturnType)|null $default * @return (TWhenReturnType is void|null ? $this : TWhenReturnType) */ public function when($value, callable $callback = null, callable $default = null); /** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter * @template TUnlessReturnType * * @param (\Closure($this): TUnlessParameter)|TUnlessParameter $value * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $callback * @param (callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return (TUnlessReturnType is void|null ? $this : TUnlessReturnType) */ public function unless($value, callable $callback = null, callable $default = null); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка