Skip to content

Commit e0748e3

Browse files
committed
minor #10178 Resolve T_STRING (vindby23, javiereguiluz)
This PR was merged into the 4.1 branch. Discussion ---------- Resolve T_STRING Error on namespace. “identifier (T_STRING)”' or `“\\ (T_NS_SEPARATOR)”' in <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 26ccc3b Wrap the entity namespace in single quotes ed5009d Resolve T_STRING
2 parents 8d34150 + 26ccc3b commit e0748e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctrine/reverse_engineering.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ table fields.
5656

5757
.. code-block:: terminal
5858
59-
$ php bin/console doctrine:mapping:import App\\Entity annotation --path=src/Entity
59+
$ php bin/console doctrine:mapping:import 'App\Entity' annotation --path=src/Entity
6060
6161
This command line tool asks Doctrine to introspect the database and generate
6262
new PHP classes with annotation metadata into ``src/Entity``. This generates two
@@ -68,7 +68,7 @@ files: ``BlogPost.php`` and ``BlogComment.php``.
6868

6969
.. code-block:: terminal
7070
71-
$ php bin/console doctrine:mapping:import App\\Entity xml --path=config/doctrine
71+
$ php bin/console doctrine:mapping:import 'App\Entity' xml --path=config/doctrine
7272
7373
Generating the Getters & Setters or PHP Classes
7474
-----------------------------------------------

0 commit comments

Comments
 (0)