src/Cli.php
public function command($pattern) {
        if (!isset($this->commandSchemas[$pattern])) {
            $this->commandSchemas[$pattern] = [Cli::META => []];
        }
        $this->currentSchema =& $this->commandSchemas[$pattern];

        return $this;
    }
public function command($pattern) {
        if (!isset($this->commandSchemas[$pattern])) {
            $this->commandSchemas[$pattern] = [Cli::META => []];
        }
        $this->currentSchema =& $this->commandSchemas[$pattern];

        return $this;
    }
public function command ( $ pattern ) { if ( ! isset ( $ this -> commandSchemas [ $ pattern ] ) ) { $ this -> commandSchemas [ $ pattern ] = [ Cli :: META => [ ] ] ; } $ this -> currentSchema = & $ this -> commandSchemas [ $ pattern ] ; return $ this ; }
Selects the current command schema name.

@param string $pattern The command pattern.
@return $this
Selects the current command schema name .