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::
848848 ORDER BY p.price ASC
849849 ';
850850 $stmt = $conn->prepare($sql);
851- $stmt->execute (['price' => $price]);
851+ $stmt->executeQuery (['price' => $price]);
852852
853853 // returns an array of arrays (i.e. a raw data set)
854854 return $stmt->fetchAllAssociative();
Original file line number Diff line number Diff line change @@ -53,13 +53,13 @@ application:
5353.. code-block :: terminal
5454
5555 # run this if you are building a traditional web application
56- $ symfony new my_project_directory --full
56+ $ symfony new my_project_directory --webapp
5757
5858 # run this if you are building a microservice, console application or API
5959 $ symfony new my_project_directory
6060
6161 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
6363usually need to build web applications, so the installation size will be bigger.
6464
6565If you're not using the Symfony binary, run these commands to create the new
@@ -68,7 +68,9 @@ Symfony application using Composer:
6868.. code-block :: terminal
6969
7070 # run this if you are building a traditional web application
71- $ composer create-project symfony/website-skeleton my_project_directory
71+ $ composer create-project symfony/skeleton my_project_directory
72+ $ cd my_project_directory
73+ $ composer require webapp
7274
7375 # run this if you are building a microservice, console application or API
7476 $ composer create-project symfony/skeleton my_project_directory
You can’t perform that action at this time.
0 commit comments