The console update command need a service registration and the borwscap service need to be public or autowired (#24)
Current workaround on kernel compilation:
final class Kernel extends BaseKernel implements CompilerPassInterface
{
use MicroKernelTrait;
public function process(ContainerBuilder $container): void
{
$container->setDefinition(
\Browscap\BrowscapBundle\Command\UpdateCommand::class,
(new Definition(\Browscap\BrowscapBundle\Command\UpdateCommand::class))
->addTag('console.command')
);
$container->getDefinition('browscap')->setPublic(true);
}
The console update command need a service registration and the
borwscap
service need to be public or autowired (#24)Current workaround on kernel compilation: