mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
implementing workflow on tasks
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
namespace Chill\TaskBundle;
|
||||
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Chill\TaskBundle\DependencyInjection\Compiler\TaskWorkflowDefinitionCompilerPass;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -25,5 +27,10 @@ use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
*/
|
||||
class ChillTaskBundle extends Bundle
|
||||
{
|
||||
|
||||
public function build(ContainerBuilder $container)
|
||||
{
|
||||
parent::build($container);
|
||||
|
||||
$container->addCompilerPass(new TaskWorkflowDefinitionCompilerPass());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user