Skip to content

Commit 6e9bb73

Browse files
committed
Add MicroKernelTrait advanced example run section
1 parent a5adc30 commit 6e9bb73

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ That's it! To test it, you can start the built-in web server:
8888
8989
Then see the JSON response in your browser:
9090

91-
> http://localhost:8000/random/10
91+
http://localhost:8000/random/10
9292

9393
The Methods of a "Micro" Kernel
9494
-------------------------------
@@ -319,6 +319,17 @@ this:
319319
├─ composer.json
320320
└─ composer.lock
321321
322+
As before you can use PHP built-in server:
323+
324+
.. code-block:: bash
325+
326+
cd web/
327+
$ php -S localhost:8000
328+
329+
Then see webpage in browser:
330+
331+
http://localhost:8000/random/10
332+
322333
Hey, that looks a lot like a *traditional* Symfony application! You're right: the
323334
``MicroKernelTrait`` *is* still Symfony: but you can control your structure and
324335
features quite easily.

0 commit comments

Comments
 (0)