setting new path for all config yaml files + adding expression-language component

This commit is contained in:
Tchama 2020-08-04 10:19:50 +02:00
parent 5292f319be
commit 2a5ee00b86
13 changed files with 14 additions and 14 deletions

View File

@ -25,17 +25,17 @@ class ChillTaskExtension extends Extension implements PrependExtensionInterface
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services/controller.yml');
$loader->load('services/security.yml');
$loader->load('services/repositories.yml');
$loader->load('services/workflow.yml');
$loader->load('services/templating.yml');
$loader->load('services/menu.yml');
$loader->load('services/event.yml');
$loader->load('services/timeline.yml');
$loader->load('services/fixtures.yml');
$loader->load('services/form.yml');
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../config'));
$loader->load('services/controller.yaml');
$loader->load('services/security.yaml');
$loader->load('services/repositories.yaml');
$loader->load('services/workflow.yaml');
$loader->load('services/templating.yaml');
$loader->load('services/menu.yaml');
$loader->load('services/event.yaml');
$loader->load('services/timeline.yaml');
$loader->load('services/fixtures.yaml');
$loader->load('services/form.yaml');
}
public function prepend(ContainerBuilder $container)
@ -51,7 +51,7 @@ class ChillTaskExtension extends Extension implements PrependExtensionInterface
$container->prependExtensionConfig('chill_main', array(
'routing' => array(
'resources' => array(
'@ChillTaskBundle/Resources/config/routing.yml'
'@ChillTaskBundle/config/routes.yaml'
)
)
));

View File

@ -1,6 +1,6 @@
services:
Chill\TaskBundle\Controller\:
resource: '../../../Controller'
resource: '../../Controller'
tags: ['controller.service_arguments']
Chill\TaskBundle\Controller\SingleTaskController:

View File

@ -1,4 +1,4 @@
services:
Chill\TaskBundle\DataFixtures\ORM\:
resource: ../../../DataFixtures/ORM
resource: ../../DataFixtures/ORM
tags: [ 'doctrine.fixture.orm' ]