Tool
in package
Class for Mezon CLI application $verb2Class and $entity2Class (int Verbs/Create.php)
Tags
Table of Contents
- $verb2Class : array<string, class-string<\Mezon\Cli\Interfaces\IVerb>>
- Hash for verb and class correlation
- run() : void
- Method runs command line application
- getVerbHandler() : class-string<\Mezon\Cli\Interfaces\IVerb>|null
- Method returns class name for processing verb from the command line
Properties
$verb2Class
Hash for verb and class correlation
private
static array<string, class-string<\Mezon\Cli\Interfaces\IVerb>>
$verb2Class
= ['create' => MezonCliVerbsCreate::class, 'help' => MezonCliVerbsHelp::class, 'version' => MezonCliVerbsVersion::class]
Methods
run()
Method runs command line application
public
static run() : void
Return values
void —getVerbHandler()
Method returns class name for processing verb from the command line
private
static getVerbHandler() : class-string<\Mezon\Cli\Interfaces\IVerb>|null