Skip to content

Commit f9cc308

Browse files
committed
docs: change text decoration
1 parent 39af027 commit f9cc308

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

user_guide_src/source/dbmgmt/seeds.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ event or setting information, and more.
1515
Database Seeders
1616
****************
1717

18-
Database seeders are simple classes that must have a **run()** method, and extend ``CodeIgniter\Database\Seeder``.
19-
Within the **run()** the class can create any form of data that it needs to. It has access to the database
18+
Database seeders are simple classes that must have a ``run()`` method, and extend ``CodeIgniter\Database\Seeder``.
19+
Within the ``run()`` the class can create any form of data that it needs to. It has access to the database
2020
connection and the forge through ``$this->db`` and ``$this->forge``, respectively. Seed files must be
2121
stored within the **app/Database/Seeds** directory. The name of the file must match the name of the class.
2222

@@ -26,12 +26,12 @@ stored within the **app/Database/Seeds** directory. The name of the file must ma
2626
Nesting Seeders
2727
***************
2828

29-
Seeders can call other seeders, with the **call()** method. This allows you to easily organize a central seeder,
29+
Seeders can call other seeders, with the ``call()`` method. This allows you to easily organize a central seeder,
3030
but organize the tasks into separate seeder files:
3131

3232
.. literalinclude:: seeds/002.php
3333

34-
You can also use a fully-qualified class name in the **call()** method, allowing you to keep your seeders
34+
You can also use a fully-qualified class name in the ``call()`` method, allowing you to keep your seeders
3535
anywhere the autoloader can find them. This is great for more modular code bases:
3636

3737
.. literalinclude:: seeds/003.php
@@ -63,10 +63,10 @@ Using the command line, you can easily generate seed files.
6363
> php spark make:seeder user --suffix
6464
// Output: UserSeeder.php file located at app/Database/Seeds directory.
6565

66-
You can supply the **root** namespace where the seed file will be stored by supplying the ``--namespace`` option::
66+
You can supply the ``root`` namespace where the seed file will be stored by supplying the ``--namespace`` option::
6767

6868
> php spark make:seeder MySeeder --namespace Acme\\Blog
6969

70-
If ``Acme\Blog`` is mapped to ``app/Blog`` directory, then this command will generate ``MySeeder.php`` at ``app/Blog/Database/Seeds`` directory.
70+
If ``Acme\Blog`` is mapped to **app/Blog** directory, then this command will generate **MySeeder.php** at **app/Blog/Database/Seeds** directory.
7171

7272
Supplying the ``--force`` option will overwrite existing files in destination.

0 commit comments

Comments
 (0)