Fix UG format

This commit is contained in:
MGatner 2021-05-29 20:17:28 +00:00 committed by John Paul E. Balandan, CPA
parent 461942d3eb
commit 746ed2c7ce

View File

@ -119,6 +119,8 @@ You want to display a "photo of the day" image on your homepage. You have a feed
need to get the actual file into a browsable location in your project at **public/images/daily_photo.jpg**.
You can set up :doc:`Custom Command </cli/cli_commands>` to run daily that will handle this for you::
<?php
namespace App\Commands;
use CodeIgniter\CLI\BaseCommand;
@ -159,6 +161,8 @@ You want to integrate the frontend library "Bootstrap" into your project, but th
to keep up with. You can create a publication definition in your project to sync frontend assets by adding extending
``Publisher`` in your project. So **app/Publishers/BootstrapPublisher.php** might look like this::
<?php
namespace App\Publishers;
use CodeIgniter\Publisher\Publisher;
@ -207,7 +211,7 @@ Now add the dependency via Composer and call ``spark publish`` to run the public
> composer require twbs/bootstrap
> php spark publish
... and you'll end up with something like this:
... and you'll end up with something like this::
public/.htaccess
public/favicon.ico
@ -240,6 +244,8 @@ You want to allow developers using your popular authentication module the abilit
of your Migration, Controller, and Model. You can create your own module "publish" command to inject these components
into an application for use::
<?php
namespace Math\Auth\Commands;
use CodeIgniter\CLI\BaseCommand;