Skip to content

Commit

Permalink
add missing service
Browse files Browse the repository at this point in the history
  • Loading branch information
JCrombez committed Jun 6, 2022
1 parent 745da30 commit f976f80
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/DependencyInjection/KibaticDatagridExtension.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
namespace Kibatic\DatagridBundle\DependencyInjection;

use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\DependencyInjection\Reference;

class KibaticDatagridExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
{
(new YamlFileLoader(
$container,
new FileLocator(dirname(__DIR__) . '/Resources/config')
))
->load('services.yaml');
}
}
3 changes: 3 additions & 0 deletions src/Resources/config/services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
Kibatic\DatagridBundle\Grid\GridBuilder:
public: true

0 comments on commit f976f80

Please sign in to comment.