implementing workflow on tasks

This commit is contained in:
2018-04-25 15:35:52 +02:00
parent 4fe9c4296e
commit c99583b665
13 changed files with 429 additions and 12 deletions

View File

@@ -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());
}
}