Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/vendor/azjezz/psl/src/Psl/Result/reflect.php
Назад
<?php declare(strict_types=1); namespace Psl\Result; use Closure; use Throwable; /** * Wraps the given operation in another operation that always completes with a {@see Success}, * or {@see Failure} if the closure throws an {@see Throwable}. * * @template T * * @param Closure(): T $task * * @return Closure(): ResultInterface<T> * * @see wrap() * * @pure */ function reflect(Closure $task): Closure { return static fn() => wrap($task); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка