public function registerWiring(IContainerBuilder $builder) { $components = dirname(__FILE__) . '/Resources/ComponentsConfiguration.php'; $web = dirname(__FILE__) . '/Resources/WebConfiguration.php'; $loader = new ContainerPhpFileLoader(new ContainerArrayLoader()); $builder->merge($loader->load($components)); $builder->merge($loader->load($web)); }
public function testLoad_UndefinedPath() { $this->setExpectedException('RuntimeException'); $this->object->load(FIXTURES_ROOT . '/Undefined/Path/To/File.php'); }