public function getCommandNames($includeBase = true)
    {
        Assert::boolean($includeBase, 'The parameter $includeBase must be a boolean. Got: %s');

        $commandNames = $this->commandNames;

        if ($includeBase && $this->baseFormat) {
            $commandNames = array_merge($this->baseFormat->getCommandNames(), $commandNames);
        }

        return $commandNames;
    }
public function getCommandNames($includeBase = true)
    {
        Assert::boolean($includeBase, 'The parameter $includeBase must be a boolean. Got: %s');

        $commandNames = $this->commandNames;

        if ($includeBase && $this->baseFormat) {
            $commandNames = array_merge($this->baseFormat->getCommandNames(), $commandNames);
        }

        return $commandNames;
    }
public function getCommandNames ( $ includeBase = true ) { Assert :: boolean ( $ includeBase , 'The parameter $includeBase must be a boolean. Got: %s' ) ; $ commandNames = $ this -> commandNames ; if ( $ includeBase && $ this -> baseFormat ) { $ commandNames = array_merge ( $ this -> baseFormat -> getCommandNames ( ) , $ commandNames ) ; } return $ commandNames ; }
Returns the command names.

@param bool $includeBase Whether to include command names in the base
format in the result.

@return CommandName[] The command names.
Returns the command names .