Skip to content

SerhiyShkolyarenko/oro_test_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

To run these bundles.

  1. Copy them to lib/ directory of your Symfony application.
  2. Update autoload section of your composer.json file like this:
   "autoload": {
        "psr-4": {
            "App\\": "src/",
            "Serhiy\\ChainCommandBundle\\": "lib/ChainCommandBundle/src/",
            "Serhiy\\BarHiBundle\\": "lib/BarHiBundle/src/",
            "Serhiy\\FooHelloBundle\\": "lib/FooHelloBundle/src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "App\\Tests\\": "tests/",
            "Serhiy\\ChainCommandBundle\\Tests\\": "lib/ChainCommandBundle/tests/"
        }
    },
  1. Update your config/bundles.php file like this:
return [
    Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
    Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
    Serhiy\ChainCommandBundle\ChainCommandBundle::class => ['all' => true],
    Serhiy\BarHiBundle\BarHiBundle::class => ['all' => true],
    Serhiy\FooHelloBundle\FooHelloBundle::class => ['all' => true],
];
  1. Update lib/ChainCommandBundle/src/Resources/config/services.xml file with console commands you want to chain.
  2. Run any CLI command and check file var/log/{env}-console.log
  3. Run tests: vendor/bin/phpunit -c lib/ChainCommandBundle/phpunit.xml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages