title: Symphony3 database creation error
body: <p>I try to use symphony for the first time to create a database.
  I have this 2 file <code>Film.php</code> contained in the directory <code>MovieManagerBundle\Entity</code> and <code>Film.orm.yml</code> contained in <code>MovieManagerBundle\Resources\config\doctrine</code>.
  When I use the command <code>php bin/console doctrine:schema:update --dump-sql</code>
  I have this error:</p>
  
  <blockquote>
    <p>[RuntimeException]<br>
     The autoloader expected class "MovieManagerBundle\Entity\Film" to be defined in file "C:\xampp\php\FilmManager\vendor\composer/../../src/MovieManagerBundle\Entity\Film.php".</p>
  </blockquote>
  
  <p>The file was found but the class was not in it, the class name or namespace probably has a typo.</p>
  
  <p>I dont understand what is the error, this is my code:</p>
  
  <p>Film.php</p>
  
  <pre><code>&lt;?php
  
  namespace MovieManagerBundle\Entity;
  
  
  class Movie
  {
  
    private $id;
    private $title;
    private $director;
    private $year;
  
  
    public function __construct($title,$director,$year){
      $this-&gt;setTitle($title);
      $this-&gt;setDirector($director);
      $this-&gt;setYear($year);
    }
  
    public function getId(){
      return $this-&gt;id;
    }
  
    public function setId($id){
      $this-&gt;id = $id;
    }
  
    public function getTitle(){
      return $this-&gt;title;
    }
  
    public function setTitle($title){
      $this-&gt;title = $title;
    }
  
    public function getDirector(){
      return $this-&gt;director;
    }
  
    public function setDirector($director){
      $this-&gt;director = $director;
    }
  
    public function getYear(){
      return $this-&gt;year;
    }
  
    public function setYear($year){
      $this-&gt;year = $year;
    }
  }
  
  
   ?&gt;
  </code></pre>
  
  <p>Film.orm.yml</p>
  
  <pre><code>MovieManagerBundle\Entity\Film:
    type: entity
    table: movie
    id:
      id:
        type: integer
        generator:
          strategy: AUTO
    fields:
      title:
        type: string
        length: 255
        nullable: false
        column: title
      director:
        type: string
        length: 255
        nullable: false
        column: director
      year:
        type: integer
        nullable: false
        column: year
  </code></pre>