From a66d4d8dcd8918f0e2b5d96ccf2090c69bfe23d9 Mon Sep 17 00:00:00 2001 From: Guillaume Sylvestre Date: Tue, 5 Feb 2019 13:25:32 +0100 Subject: [PATCH] Remove quotes around App\Entity namespace Those quotes will appear in the generated entities namespace, thus causing a PHP ParseError. --- doctrine/reverse_engineering.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/reverse_engineering.rst b/doctrine/reverse_engineering.rst index ae446e33140..d02e7e72d05 100644 --- a/doctrine/reverse_engineering.rst +++ b/doctrine/reverse_engineering.rst @@ -56,7 +56,7 @@ table fields. .. code-block:: terminal - $ php bin/console doctrine:mapping:import 'App\Entity' annotation --path=src/Entity + $ php bin/console doctrine:mapping:import App\Entity annotation --path=src/Entity This command line tool asks Doctrine to introspect the database and generate new PHP classes with annotation metadata into ``src/Entity``. This generates two