The property resolver does not seem to exist. Did you mean resolverFactory?
An attempt at access to an undefined property has been detected. This may either be a typographical error
or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods
to allow access. See the php core documentation on Overloading.
Loading history...
12
2
$this->HttpClient = (new \React\HttpClient\Factory)->create(
The property resolver does not seem to exist. Did you mean resolverFactory?
An attempt at access to an undefined property has been detected. This may either be a typographical error
or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods
to allow access. See the php core documentation on Overloading.
Loading history...
15
);
16
17
2
}
18
19
20
1
public function createWithToken($token)
21
{
22
23
1
$apiClient = new APIPollClient($token, $this->HttpClient);
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: