public function create(&$resolve = null, &$reject = null, callable $canceller = null)
    {
        $promise = $this->webonyxPromiseAdapter->create(function ($res, $rej) use (&$resolve, &$reject) {
            $resolve = $res;
            $reject = $rej;
        });
        $this->cancellers[spl_object_hash($promise)] = $canceller;

        return $promise;
    }
public function create(&$resolve = null, &$reject = null, callable $canceller = null)
    {
        $promise = $this->webonyxPromiseAdapter->create(function ($res, $rej) use (&$resolve, &$reject) {
            $resolve = $res;
            $reject = $rej;
        });
        $this->cancellers[spl_object_hash($promise)] = $canceller;

        return $promise;
    }
public function create ( & $ resolve = null , & $ reject = null , callable $ canceller = null ) { $ promise = $ this -> webonyxPromiseAdapter -> create ( function ( $ res , $ rej ) use ( & $ resolve , & $ reject ) { $ resolve = $ res ; $ reject = $ rej ; } ) ; $ this -> cancellers [ spl_object_hash ( $ promise ) ] = $ canceller ; return $ promise ; }
{@inheritdoc}
{