File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -848,7 +848,7 @@ In addition, you can query directly with SQL if you need to::
848
848
ORDER BY p.price ASC
849
849
';
850
850
$stmt = $conn->prepare($sql);
851
- $stmt->execute (['price' => $price]);
851
+ $stmt->executeQuery (['price' => $price]);
852
852
853
853
// returns an array of arrays (i.e. a raw data set)
854
854
return $stmt->fetchAllAssociative();
Original file line number Diff line number Diff line change @@ -53,13 +53,13 @@ application:
53
53
.. code-block :: terminal
54
54
55
55
# run this if you are building a traditional web application
56
- $ symfony new my_project_directory --version=5.4 --full
56
+ $ symfony new my_project_directory --version=5.4 --webapp
57
57
58
58
# run this if you are building a microservice, console application or API
59
59
$ symfony new my_project_directory --version=5.4
60
60
61
61
The only difference between these two commands is the number of packages
62
- installed by default. The ``--full `` option installs all the packages that you
62
+ installed by default. The ``--webapp `` option installs all the packages that you
63
63
usually need to build web applications, so the installation size will be bigger.
64
64
65
65
If you're not using the Symfony binary, run these commands to create the new
@@ -68,7 +68,9 @@ Symfony application using Composer:
68
68
.. code-block :: terminal
69
69
70
70
# run this if you are building a traditional web application
71
- $ composer create-project symfony/website-skeleton:"^5.4" my_project_directory
71
+ $ composer create-project symfony/skeleton:"^5.4" my_project_directory
72
+ $ cd my_project_directory
73
+ $ composer require webapp
72
74
73
75
# run this if you are building a microservice, console application or API
74
76
$ composer create-project symfony/skeleton:"^5.4" my_project_directory
You can’t perform that action at this time.
0 commit comments