我收到错误You have requested a non-existent service "isi_isi_manager"
但此服务已被注册。
怎么可能?
MyBundle / Resources / config / config.yml
services:
isi_isi_manager:
class: SMFR\IsiBundle\Entity\IsiManager
arguments:
- '@service_container'
ISIExtension
public function load(array $configs, ContainerBuilder $container)
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('config.yml');
}