@@ -13,7 +13,7 @@ etc. You can also scaffold a complete set of files with just one command.
1313Introduction
1414************
1515
16- All built-in generators reside under the ``Generators `` namespace when listed using ``php spark list ``.
16+ All built-in generators reside under the ``Generators `` group when listed using ``php spark list ``.
1717To view the full description and usage information on a particular generator, use the command::
1818
1919 > php spark help <generator_command>
@@ -28,7 +28,7 @@ where ``<generator_command>`` will be replaced with the command to check.
2828
2929.. note :: Working on modules? Code generation will set the root namespace to a default of ``APP_NAMESPACE``.
3030 Should you need to have the generated code elsewhere in your module namespace, make sure to set
31- the ``--namespace `` option in your command, e.g., ``php spark make:model blog --namespace Acme\Blog ``.
31+ the ``--namespace `` option in your command, e.g., ``php spark make:model blog --namespace Acme\\ Blog ``.
3232
3333.. warning :: Make sure when setting the ``--namespace`` option that the supplied namespace is a valid
3434 namespace defined in your ``$psr4 `` array in ``Config\Autoload `` or defined in your composer autoload
@@ -269,12 +269,12 @@ Running this in your terminal::
269269
270270 > php spark make:scaffold user
271271
272- will create the following classes :
272+ will create the following files :
273273
274- (1) `` App\ Controllers\ User``;
275- (2) `` App\ Models\ User``;
276- (3) `` App\ Database\ Migrations\ <some date here>_User``; and
277- (4) `` App\ Database\ Seeds\ User``.
274+ (1) ** app/ Controllers/ User.php **
275+ (2) ** app/ Models/ User.php **
276+ (3) ** app/ Database/ Migrations/ <some date here>_User.php ** and
277+ (4) ** app/ Database/ Seeds/ User.php **
278278
279279To include an ``Entity `` class in the scaffolded files, just include the ``--return entity `` to the command
280280and it will be passed to the model generator.
0 commit comments