DataSift\Storyplayer\Cli\Feature_PersistProcessesSwitch::__construct PHP Метод

__construct() публичный Метод

public __construct ( )
    public function __construct()
    {
        // define our name, and our description
        $this->setName('persistprocess');
        $this->setShortDescription('do not auto-kill background processes on exit');
        $this->setLongDesc("Storyplayer's usingShell() module allows you to start background processes as " . "part of your test.  When your story finishes, Storyplayer normally terminates " . "any background processes that your story hasn't already terminated." . PHP_EOL . PHP_EOL . "When developing or debugging a story, it can be useful for these background processes " . "to continue running after the story has finished." . PHP_EOL . PHP_EOL . "Use this switch to avoid auto-killing any background processes when a story " . "finishes running");
        // what are the long switches?
        $this->addLongSwitch('persist-processes');
        // all done
    }
Feature_PersistProcessesSwitch