8000 Removed some contents unnecessary when using Flex · uestla/symfony-docs@eefbe7f · GitHub
[go: up one dir, main page]

Skip to content

Commit eefbe7f

Browse files
Removed some contents unnecessary when using Flex
1 parent 004526b commit eefbe7f

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

setup/built_in_web_server.rst

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,34 +22,12 @@ and enable the server bundle.
2222
Installing the Web Server Bundle
2323
--------------------------------
2424

25-
First, execute this command:
25+
Move into your project directory and run this command:
2626

2727
.. code-block:: terminal
2828
2929
$ cd your-project/
30-
$ composer require --dev symfony/web-server-bundle
31-
32-
Then, enable the bundle in the kernel of the application::
33-
34-
// src/Kernel.php
35-
class Kernel extends BaseKernel
36-
{
37-
public function registerBundles()
38-
{
39-
$bundles = array(
40-
// ...
41-
);
42-
43-
if ('dev' === $this->getEnvironment()) {
44-
// ...
45-
$bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle();
46-
}
47-
48-
// ...
49-
}
50-
51-
// ...
52-
}
30+
$ composer require server --dev
5331
5432
Starting the Web Server
5533
-----------------------

0 commit comments

Comments
 (0)
0