-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Hello)) help me please))
i use Redis Symfony\Component\Cache\Adapter\RedisAdapter
i added in dependencies.php
$container['cache'] = function ($c) {
$config = [
'schema' => 'tcp',
'host' => 'localhost',
'port' => 6379,
// other options
];
$connection = new Predis\Client($config);
return new Symfony\Component\Cache\Adapter\RedisAdapter($connection);
};
next
i added in dependencies.php
Dappur\Model\Room::observe(new Dappur\Model\Observers\RoomObserver($container));
Dappur\Model\RoomVideo::observe(new Dappur\Model\Observers\RoomVideoObserver($container));
Dappur\Model\RoomUser::observe(new Dappur\Model\Observers\RoomUserObserver($container));
i want use Redis in the Observer events
and i have
Line: 918
Message: Target [Interop\Container\ContainerInterface] is not instantiable while building [Dappur\Model\Observers\RoomUserObserver].
what i do no right? thank you