brexis / laravel-workflow

Use the Symfony Workflow component in Laravel
MIT License
281 stars 105 forks source link

Pass to workflow:dump custom worflow config file #71

Open 4n70w4 opened 4 years ago

4n70w4 commented 4 years ago

Hi! I use module structure of app. And each package contains self workflow configurations for own entities.

For load custom config in my app I use:

$registry = new WorkflowRegistry(app('config')->get('another-workflow'));

It would be useful to be able to specify a configuration file for this command.