Bonjour,

Je suis en train de me lancer dans Symfony 2 (2.2.0-RC2) en suivant un cours

En voulant créer ma première entité avec la commande :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
 php app/console doctrine:generate:entity
la console me renvoie l'erreur : "is not defined"

En lançant :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 
php app/console list
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
doctrine
  doctrine:cache:clear-metadata         Clears all metadata cache for an entity manager
  doctrine:cache:clear-query            Clears all query cache for an entity manager
  doctrine:cache:clear-result           Clears result cache for an entity manager
  doctrine:database:create              Creates the configured databases
  doctrine:database:drop                Drops the configured databases
  doctrine:ensure-production-settings   Verify that Doctrine is properly configured for a production environment.
  doctrine:generate:entities            Generates entity classes and method stubs from your mapping information
  doctrine:mapping:convert              Convert mapping information between supported formats.
  doctrine:mapping:import               Imports mapping information from an existing database
  doctrine:mapping:info                 Shows basic information about all mapped entities
  doctrine:query:dql                    Executes arbitrary DQL directly from the command line.
  doctrine:query:sql                    Executes arbitrary SQL directly from the command line.
  doctrine:schema:create                Executes (or dumps) the SQL needed to generate the database schema
  doctrine:schema:drop                  Executes (or dumps) the SQL needed to drop the current database schema
  doctrine:schema:update                Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata
  doctrine:schema:validate              Validates the doctrine mapping files
La commande n'est pas présente non plus.

Je cherche depuis des heures sur internet, mais il semblerait que personne n'ai déjà eu cette erreur, je désespère

Avez vous une idée ?

Merci