Serializer example is wrong, it should be new JsonSerializer()
tolgaulas opened this issue · comments
Tolga Ulas commented
Examples of beansclient\Serializer has the below reference:
use xobotyi\beansclient\Serializer\Json;
$client = new BeansClient(new Connection(), new Json());
which is wrong since the class name is JsonSerializer, the correct one should be.
use xobotyi\beansclient\Serializer\JsonSerializer;
$client = new BeansClient(new Connection(), new JsonSerializer());
Anton Zinovyev commented
Sadly has absolutely no time to update the docs - this is why lib in alpha stage.
Deleted user commented
Will you accept a PR to fix this issue?