Documentation

PromiseResolver
in package

Tags
phpstan-template

TValue

Table of Contents

$promise  : Promise
$shared  : PromiseSharedData
__construct()  : mixed
getPromise()  : Promise
reject()  : void
resolve()  : void

Properties

$shared

private PromiseSharedData $shared
Tags
phpstan-var

PromiseSharedData<TValue>

Methods

resolve()

public resolve(mixed $value) : void
Parameters
$value : mixed
Tags
phpstan-param

TValue $value

Return values
void

Search results