Command
class Command (View source)
Constants
BAD_COMMAND |
|
Methods
Command constructor.
Set the config directory
Set the package configuration directory
Set the component directory
Set the migration directory
Set the seeder directory
Set the controller directory
Set the validation directory
Set the middleware directory
Set the application directory
Set the model directory
Set the namespaces
Get the component directory
Get the config directory
Get the package configuration directory
Get the migration directory
Get the seeder directory
Get the validation directory
Get the service directory
Get the service directory
Get the model directory
Get the controller directory
Get the app directory
Get base directory name
Permet de formater les options
Permet de récupérer un parametre
Permet de récupérer les options de la commande
Permet de monter une migration
Permet supprimer une migration dans la base de donnée
Permet de rafraichir le fichier de régistre
Permet de créer un seeder
Permet de créer une migration
Permet de mettre en place le système de réssource.
Create new controller file
Create a middleware
Create new model file
Permet de générer la clé de securité
Permet de créer un validator
Permet de créer un validator
Details
__construct(string $dirname)
Command constructor.
setConfigDirectory(string $dirname)
Set the config directory
setConfigurationDirectory(string $dirname)
Set the package configuration directory
setComponentDirectory(string $dirname)
Set the component directory
setMigrationDirectory(string $dirname)
Set the migration directory
setSeederDirectory(string $dirname)
Set the seeder directory
setControllerDirectory(string $dirname)
Set the controller directory
setValidationDirectory(string $dirname)
Set the validation directory
setMiddlewareDirectory(string $dirname)
Set the middleware directory
setApplicationDirectory(string $dirname)
Set the application directory
setModelDirectory(string $dirname)
Set the model directory
setNamespaces(array $namespaces)
Set the namespaces
string
getComponentDirectory()
Get the component directory
string
getConfigDirectory()
Get the config directory
string
getConfigurationDirectory()
Get the package configuration directory
string
getMigrationDirectory()
Get the migration directory
string
getSeederDirectory()
Get the seeder directory
string
getValidationDirectory()
Get the validation directory
string
getServiceDirectory()
Get the service directory
string
getMiddlewareDirectory()
Get the service directory
string
getModelDirectory()
Get the model directory
string
getControllerDirectory()
Get the controller directory
string
getApplicationDirectory()
Get the app directory
string
getBaseDirname()
Get base directory name
formatParameters()
Permet de formater les options
mixed|Collection|null
getParameter(string $key, mixed $default = null)
Permet de récupérer un parametre
Collection|mixed|null
options(string $key = null, string $default = null)
Permet de récupérer les options de la commande
up(string $model)
Permet de monter une migration
down(string $model)
Permet supprimer une migration dans la base de donnée
reflesh()
Permet de rafraichir le fichier de régistre
seeder($name)
Permet de créer un seeder
make($model)
Permet de créer une migration
resource(string $controller_name)
Permet de mettre en place le système de réssource.
controller(string $controller_name)
Create new controller file
middleware($middleware_name)
Create a middleware
model(string $model_name)
Create new model file
key()
Permet de générer la clé de securité
int
validator(string $validator_name)
Permet de créer un validator
int
configuration(string $configuration_name)
Permet de créer un validator