Skip to content

Commit e874f0c

Browse files
committed
docs: rewrite "Auto Routing (Improved)" contents
1 parent b3dc8c8 commit e874f0c

File tree

7 files changed

+140
-142
lines changed

7 files changed

+140
-142
lines changed

user_guide_src/source/incoming/auto_routing_improved.rst

Lines changed: 112 additions & 138 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace App\Controllers;
4+
5+
class HelloWorld extends BaseController
6+
{
7+
// ...
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace App\Controllers;
4+
5+
class helloworld extends BaseController
6+
{
7+
// ...
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace App\Controllers;
4+
5+
class helloWorld extends BaseController
6+
{
7+
// ...
8+
}

user_guide_src/source/incoming/controllers/020.php renamed to user_guide_src/source/incoming/auto_routing_improved/020.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Controllers;
44

5-
class Helloworld extends BaseController
5+
class HelloWorld extends BaseController
66
{
77
public function getIndex()
88
{

user_guide_src/source/incoming/controllers/021.php renamed to user_guide_src/source/incoming/auto_routing_improved/021.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Controllers;
44

5-
class Helloworld extends BaseController
5+
class HelloWorld extends BaseController
66
{
77
public function getIndex()
88
{

user_guide_src/source/incoming/controllers/022.php renamed to user_guide_src/source/incoming/auto_routing_improved/022.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
class Products extends BaseController
66
{
7-
public function getShoes($sandals, $id)
7+
public function getShoes($type, $id)
88
{
9-
return $sandals . $id;
9+
return $type . $id;
1010
}
1111
}

0 commit comments

Comments
 (0)