src/Factory/BernardOptionsFactory.php
private function build($container):BernardOptions
    {
        /* @var $config array */
        $config = $container->get('config');
        $config = $config['interactive_solutions']['options'][BernardOptions::class] ?? [];

        return new BernardOptions($config);
    }
private function build($container):BernardOptions
    {
        /* @var $config array */
        $config = $container->get('config');
        $config = $config['interactive_solutions']['options'][BernardOptions::class] ?? [];

        return new BernardOptions($config);
    }
@param ServiceLocatorInterface|ContainerInterface $container

@return BernardOptions