File tree Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -22,34 +22,12 @@ and enable the server bundle.
2222Installing 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-----------------------
You can’t perform that action at this time.
0 commit comments