Skip to content

Commit d2a9b95

Browse files
committed
docs: improve comments a bit
1 parent 699c88c commit d2a9b95

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • user_guide_src/source/models/model

user_guide_src/source/models/model/001.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22

3-
// Create a new class manually
3+
// Create a new class manually.
44
$userModel = new \App\Models\UserModel();
55

6-
// Create a new class with the model function
6+
// Create a new class with the model() function.
77
$userModel = model('App\Models\UserModel', false);
88

9-
// Create a shared instance of the model
9+
// Create a shared instance of the model.
1010
$userModel = model('App\Models\UserModel');
1111

12-
// Create shared instance with a supplied database connection
12+
// Create shared instance with a supplied database connection.
1313
// When no namespace is given, it will search through all namespaces
1414
// the system knows about and attempts to locate the UserModel class.
1515
$db = db_connect('custom');

0 commit comments

Comments
 (0)