2017 © Pedro Peláez
 

symfony-bundle chain-command-bundle

Symfony bundle that implements command chaining functionality.

image

nimias/chain-command-bundle

Symfony bundle that implements command chaining functionality.

  • Friday, September 30, 2016
  • by NAMnam
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

NimiasChainCommandBundle

NimiasChainCommandBundle is a Symfony bundle that implements command chaining functionality., (*1)

Other Symfony bundles in the application could register their console commands to be members of a command chain., (*2)

When a user runs the main command in a chain, all other commands registered in this chain will be executed as well., (*3)

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*4)

$ composer require nimias/chain-command-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*5)

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:, (*6)

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Nimias\ChainCommandBundle\NimiasChainCommandBundle(),
        );

        // ...
    }

    // ...
}

How to use

Please, see documentation., (*7)

ToDo

  • Implement tests for \Nimias\ChainCommandBundle\Helper\ConsoleOutputFilterHelper
  • Implement tests for \Nimias\ChainCommandBundle\Helper\OutputBufferHelper
  • Implement skiped tests in \Nimias\ChainCommandBundle\Tests\Service\CommandEventsSubscriber\ProcessTerminateTest class.

The Versions