title: getManager causes an error, getEntityManager works fine?
body: <p>As a newbie in Symfony2 &amp; doctrine i'm struggling (in a custom repository class) with the difference between <code>getEntityManager()</code> and <code>getManager()</code>.</p>
  
  <p>I know <code>getEntityManager()</code> is being deprecated but if I use <code>getManager()</code> instead, I'm getting <em>"Undefined method 'getManager'. The method name must start with either findBy or findOneBy!"</em></p>
  
  <p>In my class, the following code works:</p>
  
  <pre><code>public function haalidop($verbid)
  {
      return $this-&gt;getEntityManager()
                  -&gt;createQuery('SELECT p FROM myBundle:Verbs p WHERE p.verbid='.$verbid)
                  -&gt;getSingleResult();
  }
  </code></pre>
  
  <p>If I change (upgrade?) it like the code below, I get the error...</p>
  
  <pre><code>public function haalidop($verbid)
      {
          return $this-&gt;getManager()
                      -&gt;createQuery('SELECT p FROM myBundle:Verbs p WHERE p.verbid='.$verbid)
                      -&gt;getSingleResult();
      }
  </code></pre>
  
  <p>Anyone any suggestion what's wrong here?</p>