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

__construct() public method

public __construct ( $sutList )
    public function __construct($sutList)
    {
        // define the command
        $this->setName('list-systems');
        $this->setShortDescription('list the available systems-under-test');
        $this->setLongDesc("Use this switch to get a list of all of the systems-under-test" . " that are defined in the config files.");
        // what are the short switches?
        $this->addShortSwitch('S');
        // what are the long switches?
        $this->addLongSwitch('list-systems');
        // we are actually a command, pretending to be a switch
        $this->setSwitchActsAsCommand();
        // remember the environments list
        $this->sutList = $sutList;
    }
ListSystems_Switch