Preview: PromiseExecutor.php
Size: 428 B
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/woocommerce/lib/packages/GraphQL/Executor/PromiseExecutor.php
<?php declare(strict_types=1);
namespace Automattic\WooCommerce\Vendor\GraphQL\Executor;
use Automattic\WooCommerce\Vendor\GraphQL\Executor\Promise\Promise;
class PromiseExecutor implements ExecutorImplementation
{
private Promise $result;
public function __construct(Promise $result)
{
$this->result = $result;
}
public function doExecute(): Promise
{
return $this->result;
}
}
Directory Contents
Dirs: 1 × Files: 8