whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
azjezz
/
psl
/
src
/
Psl
/
Result
/
Upload File:
files >> /home/kckglobal/www/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); }
Copyright ©2021 || Defacer Indonesia