Interop\Async\Loop\Driver::getState PHP Method

getState() final public method

Stored information is package private. Packages MUST NOT retrieve the stored state of other packages. Packages MUST use the following prefix for keys: vendor.package.
final public getState ( string $key ) : mixed
$key string The namespaced storage key.
return mixed The previously stored value or `null` if it doesn't exist.
    public final function getState($key)
    {
        return isset($this->registry[$key]) ? $this->registry[$key] : null;
    }