KV igbinary #1055
KV igbinary
#1055
-
Hello!
Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
butschster
Jan 10, 2024
Replies: 1 comment 3 replies
-
Hil @konigbach To use Something like <?php
declare(strict_types=1);
namespace App\Application\Bootloader;
use Spiral\Boot\Bootloader\Bootloader;
use Spiral\RoadRunner\KeyValue\Serializer\IgbinarySerializer;
use Spiral\RoadRunner\KeyValue\Serializer\SerializerInterface;
final class AppBootloader extends Bootloader
{
public function defineSingletons(): array
{
return [
SerializerInterface::class => IgbinarySerializer::class,
];
}
} |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
konigbach
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hil @konigbach
To use
IgbinarySerializer
in spiral framework you just need to rebind a default serializer for KV plugin.Something like