DataSift\Storyplayer\Cli\ListProcesses_Switch::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        // define the command
        $this->setName('list-processes');
        $this->setShortDescription('list any background processes that are currently running');
        $this->setLongDesc("Use this command to get a list of all of the processes that Storyplayer " . "has started in the background." . PHP_EOL . PHP_EOL . "This can help you to identify processes that have been left running after " . "a test has completed." . PHP_EOL . PHP_EOL . "You can use the '--kill-processes' switch to stop these processes.");
        // what are the long switches?
        $this->addLongSwitch('list-processes');
        // we are actually a command, pretending to be a switch
        $this->setSwitchActsAsCommand();
    }
ListProcesses_Switch