title: Accessing a service inside an event subscriber
body: <p>I have an event subscriber with Doctrine events. Inside that, I am trying to call a service I have registered. I've called it already from in a controller and it works there, but when I try to call it in my event subscriber I get an error:</p>
  
  <pre><code>Attempted to call method "get" on class "Path\To\My\Class".
  Did you mean to call "getSubscribedEvents"?
  </code></pre>
  
  <p>The code looks like this:</p>
  
  <pre><code>$embedcode_service = $this-&gt;get('myproject.mynamespace.myfield.update');
  $embedcode_service-&gt;refreshMyField($document);
  </code></pre>
  
  <p>Why can't I access my service inside this event subscriber? How can I get access to it?</p>