Create
in package
implements
IVerb
Class for processing 'create' verb
Tags
Interfaces, Classes and Traits
Table of Contents
- $entity2Class : array<string, class-string<\Mezon\Cli\Interfaces\IEntity>>
- Hash for entity and class correlation
- getCommand() : class-string<\Mezon\Cli\Interfaces\IEntity>|null
- Method returns class name for processing command from the command line
Properties
$entity2Class
Hash for entity and class correlation
private
static array<string, class-string<\Mezon\Cli\Interfaces\IEntity>>
$entity2Class
= ['application' => MezonCliEntitiesApplication::class, 'fs' => MezonCliEntitiesFs::class, 'htaccess' => MezonCliEntitiesHtaccess::class, 'project' => MezonCliEntitiesProject::class]
Methods
getCommand()
Method returns class name for processing command from the command line
public
static getCommand() : class-string<\Mezon\Cli\Interfaces\IEntity>|null