title: ZF2: Equivalent of getServiceLocator in Zend Form
body: <p>assumption: <code>Event\Service\EventService</code> is my personal object that works with <code>Event\Entity\Event</code> entities</p>
  
  <p>This code works in an ActionController:</p>
  
  <pre><code>$eventService = $this-&gt;getServiceLocator()-&gt;get('Event\Service\EventService');
  </code></pre>
  
  <p>How can I get <code>$eventService</code> in a <code>Zend\Form\Form</code> in the same way?</p>