Skip to content

Commit

Permalink
Merge pull request #4 from passioneight/dev
Browse files Browse the repository at this point in the history
merge fixed from dev branch
  • Loading branch information
passioneight committed Oct 2, 2022
2 parents f2816cc + b14332a commit b7eecaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/DependencyInjection/PimcoreFormsExtension.php
Expand Up @@ -4,16 +4,16 @@

use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader;
use Symfony\Component\HttpKernel\DependencyInjection\ConfigurableExtension;

class PimcoreFormsExtension extends ConfigurableExtension
class PimcoreFormsExtension extends Extension
{
/**
* @inheritDoc
* @throws \Exception
*/
protected function loadInternal(array $mergedConfig, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container)
{
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
$loader->load('config.yaml');
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/config.yaml
@@ -1,2 +1,2 @@
imports:
- { resource: services.yml }
- { resource: services.yaml }

0 comments on commit b7eecaf

Please sign in to comment.