Overview

Namespaces

  • Webmozart
    • Console
      • Adapter
      • Api
        • Application
        • Args
          • Format
        • Command
        • Config
        • Event
        • Formatter
        • IO
        • Resolver
      • Args
      • Config
      • Formatter
      • Handler
        • Help
      • IO
        • InputStream
        • OutputStream
      • Process
      • Resolver
      • UI
        • Alignment
        • Component
        • Help
        • Layout
        • Style
      • Util

Classes

  • ProcessTitle
  • SimilarCommandName
  • StringUtil
  • Overview
  • Namespace
  • Class

Class SimilarCommandName

Utility to find similar command names.

Namespace: Webmozart\Console\Util
Author: Bernhard Schussek bschussek@gmail.com
Since: 1.0
Located at Util/SimilarCommandName.php
Methods summary
public static string[]
# find( string $commandName, Webmozart\Console\Api\Command\CommandCollection $commands )

Searches a command collection for similar names.

Searches a command collection for similar names.

Parameters

$commandName
The command name that was not found.
$commands
The available commands.

Returns

string[]
The names of similar commands.
Webmozart Console API API documentation generated by ApiGen