Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Commands validator

The Commands validator is a Service which determines which Commands should be executable. By default all Commands which implements the "Elements\Bundle\ProcessManagerBundle\ExecutionTrait" will be available.

You can change or alter the behaviour by changing the Service. If you want that all commands are available, change the $strategy to "all". Then no validation is done.

    Elements\Bundle\ProcessManagerBundle\Service\CommandsValidator:
        public: true
        arguments:
            $strategy: "default
            $whiteList: ["router:match","valid:command"]
            $blackList: ["process-manager:maintenance","do-no-execute:command"]