|
Clippy
|


Public Attributes | |
| const | CONVERSION |
| const | PRECISION |
| const | IN_NAME |
Public Attributes inherited from Clippy\Command | |
| const | DIR_LANG = __DIR__."/../lang/" |
| const | REGEX_WORD_BEGIN = "(^| )" |
| const | REGEX_WORD_END = "($| |\.|!|\?)" |
| const | REGEX_YOU = "(you|ya|u)" |
| const | REGEX_FLOAT = "(\d+(\.\d+)?)" |
| const | REGEX_SPACE_OPT = " *" |
Additional Inherited Members | |
Public Member Functions inherited from Clippy\CommandConvert | |
| __construct (public float $in_amount, public string $in_unit, public float $out_amount, public string $out_unit,) | |
| getResponse () | |
Public Member Functions inherited from Clippy\Command | |
| getDefaultResponse () | |
Static Public Member Functions inherited from Clippy\CommandConvert | |
| static | instantiateIfMatches (string $in) |
| static | format (float $value, string $unit) |
Static Public Member Functions inherited from Clippy\Command | |
| static | registerCommand (string $command) |
| static | registerCommands (array $commands) |
| static | getRegisteredCommands () |
| static | getAllCommands () |
| static | getOutputLocales () |
| static | setOutputLocale (string $name) |
| static | match (string $in) |
| static | translate (string $key) |
| static | stringify ($value) |
Static Public Attributes inherited from Clippy\Command | |
| static array | $config |
| static array | $out_langs = [] |
| const Clippy\CommandConvertWeight::CONVERSION |
| const Clippy\CommandConvertWeight::IN_NAME |
| const Clippy\CommandConvertWeight::PRECISION |