Skip to content

Commit 46f7d5f

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: Change order in Set-up article [Console] Update table.rst
2 parents 4da30ed + fed7f24 commit 46f7d5f

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

components/console/helpers/table.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ If the built-in styles do not fit your need, define your own::
233233

234234
// customizes the style
235235
$tableStyle
236-
->setDefaultCrossingChars('<fg=magenta>|</>')
236+
->setHorizontalBorderChars('<fg=magenta>|</>')
237237
->setVerticalBorderChars('<fg=magenta>-</>')
238238
->setDefaultCrossingChar(' ')
239239
;
@@ -244,7 +244,7 @@ If the built-in styles do not fit your need, define your own::
244244
Here is a full list of things you can customize:
245245

246246
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setPaddingChar`
247-
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setDefaultCrossingChars`
247+
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setHorizontalBorderChars`
248248
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setVerticalBorderChars`
249249
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setCrossingChars`
250250
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setDefaultCrossingChar`

setup.rst

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,35 @@ started. In other words, your new application is ready!
8181
and ``<project>/var/log/``) must be writable by the web server. If you have
8282
any issue, read how to :doc:`set up permissions for Symfony applications </setup/file_permissions>`.
8383

84+
.. _install-existing-app:
85+
86+
Setting up an Existing Symfony Project
87+
--------------------------------------
88+
89+
In addition to creating new Symfony projects, you will also work on projects
90+
already created by other developers. In that case, you only need to get the
91+
project code and install the dependencies with Composer. Assuming your team uses
92+
Git, setup your project with the following commands:
93+
94+
.. code-block:: terminal
95+
96+
# clone the project to download its contents
97+
$ cd projects/
98+
$ git clone ...
99+
100+
# make Composer install the project's dependencies into vendor/
101+
$ cd my-project/
102+
$ composer install
103+
104+
You'll probably also need to customize your :ref:`.env file <config-dot-env>`
105+
and do a few other project-specific tasks (e.g. creating a database). When
106+
working on a existing Symfony application for the first time, it may be useful
107+
to run this command which displays information about the project:
108+
109+
.. code-block:: terminal
110+
111+
$ php bin/console about
112+
84113
Running Symfony Applications
85114
----------------------------
86115

@@ -112,35 +141,6 @@ the server by pressing ``Ctrl+C`` from your terminal.
112141
The web server works with any PHP application, not only Symfony projects,
113142
so it's a very useful generic development tool.
114143

115-
.. _install-existing-app:
116-
117-
Setting up an Existing Symfony Project
118-
--------------------------------------
119-
120-
In addition to creating new Symfony projects, you will also work on projects
121-
already created by other developers. In that case, you only need to get the
122-
project code and install the dependencies with Composer. Assuming your team uses
123-
Git, setup your project with the following commands:
124-
125-
.. code-block:: terminal
126-
127-
# clone the project to download its contents
128-
$ cd projects/
129-
$ git clone ...
130-
131-
# make Composer install the project's dependencies into vendor/
132-
$ cd my-project/
133-
$ composer install
134-
135-
You'll probably also need to customize your :ref:`.env file <config-dot-env>`
136-
and do a few other project-specific tasks (e.g. creating a database). When
137-
working on a existing Symfony application for the first time, it may be useful
138-
to run this command which displays information about the project:
139-
140-
.. code-block:: terminal
141-
142-
$ php bin/console about
143-
144144
.. _symfony-flex:
145145

146146
Installing Packages

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy