We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2da8ef8 + 09bcef4 commit 1086703Copy full SHA for 1086703
2 files changed
.github/workflows/test-userguide.yml
@@ -25,3 +25,4 @@ jobs:
25
- uses: ammaraskar/sphinx-action@0.4
26
with:
27
docs-folder: user_guide_src
28
+ build-command: 'make html SPHINXOPTS="-W --keep-going -w /tmp/sphinx-log"'
user_guide_src/source/database/utilities/001.php
@@ -1,9 +1,12 @@
1
<?php
2
3
-$model = new class () extends \CodeIgniter\Model {
+class MyModel extends \CodeIgniter\Model
4
+{
5
protected $table = 'foo';
6
protected $primaryKey = 'id';
-};
7
+}
8
+
9
+$model = new MyModel();
10
11
$util = \CodeIgniter\Database\Config::utils();
12
0 commit comments