first commit

This commit is contained in:
2024-11-11 18:46:54 +01:00
commit a630d17338
25634 changed files with 4923715 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace React\Promise;
class SimpleTestCancellableThenable
{
public $cancelCalled = false;
public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null)
{
return new self();
}
public function cancel()
{
$this->cancelCalled = true;
}
}