This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ classes for you to start with:
102
102
- ` Zend\Mvc\Controller\AbstractRestfulController ` introspects the ` Request ` to
103
103
determine what HTTP method was used, and calls a method according to that.
104
104
- ` GET ` will call either the ` getList() ` method, or, if an "id" was matched
105
- during routing, the ` get() ` method (with that identifer value).
105
+ during routing, the ` get() ` method (with that identifier value).
106
106
- ` POST ` will call the ` create() ` method, passing in the ` $_POST ` values.
107
107
- ` PUT ` expects an "id" to be matched during routing, and will call the
108
108
` update() ` method, passing in the identifier, and any data found in the raw
Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ return [
635
635
'type' => 'Zend\Mvc\Router\Http\Hostname',
636
636
'options' => [
637
637
'route' => ':4th.[:3rd.]:2nd.:1st', // domain levels from right to left
638
- 'contraints ' => [
638
+ 'constraints ' => [
639
639
'4th' => 'modules',
640
640
'3rd' => '.*?', // optional 3rd level domain such as .ci, .dev or .test
641
641
'2nd' => 'zendframework',
@@ -663,7 +663,7 @@ return [
663
663
'type' => 'Zend\Mvc\Router\Http\Hostname',
664
664
'options' => [
665
665
'route' => ':4th.[:3rd.]:2nd.:1st', // domain levels from right to left
666
- 'contraints ' => [
666
+ 'constraints ' => [
667
667
'4th' => 'packages',
668
668
'3rd' => '.*?', // optional 3rd level domain such as .ci, .dev or .test
669
669
'2nd' => 'zendframework',
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ services configured out of the box.
236
236
creates a ` Zend\Http\PhpEnvironment\Response ` .
237
237
238
238
- ` Router ` , mapping to ` Zend\Mvc\Service\RouterFactory ` . If in a console
239
- enviroment , it proxies to the ` ConsoleRouter ` service; otherwise, it proxies
239
+ environment , it proxies to the ` ConsoleRouter ` service; otherwise, it proxies
240
240
to the ` HttpRouter ` service.
241
241
242
242
- ` RoutePluginManager ` , mapping to ` Zend\Mvc\Service\RoutePluginManagerFactory ` .
You can’t perform that action at this time.
0 commit comments