title: Why autoloader error comes in symfony2
body: <p>can any one please let me know why the autoloader error is comes in symfony2.
  what is parmenanat solution of it. i have download the symfony2 version with vendor and all the things is working properly accept when i insert a custom class and try to use it always raise an auto load error please give me it's solution . error msg is as bellow.</p>
  
  <pre><code>The autoloader expected class "Blogger\BlogBundle\Entity\Enquiry" 
  to be defined in file
  "D:\wamp\www\Symfony/src/\Blogger\BlogBundle\Entity\Enquiry.php". 
  The file was found but the class was not in it, 
  the class name or namespace probably has a typo. 
  </code></pre>
  
  <p>here is enquiry class.</p>
  
  <pre><code>&lt;?php
  
  namespace Blogger\BlogBungle\Entity;
  
  class Enquiry
  {
  
  protected $name;
  protected $email;
  protected $subject;
  protected $body;
  
  public function getName()
  {
      return $this-&gt;name;
  
  }
  public function setName($name)
  {
      $this-&gt;name = $name;
  }
  public function getEmail()
  {
      return $this-&gt;email;
  }
  public function setEmail($email)
  {
      $this-&gt;email = $email;
  }
  public function getSubject()
  {
      return $this-&gt;subject;
  }
  public function setSubject($subject)
  {
      $this-&gt;subject = $subject;
  }
  public function getBody()
  {
      return $this-&gt;body;
  }
  public function setBody($body)
  {
      $this-&gt;body = $body;
  }
  
  
  }
  
  
  ?&gt;
  </code></pre>