title: Are Doctrine2 repositories a good place to save my entities?
body: <p>When I read docs about repositories, it is often to work with entities &amp; collection but in a "read-only" manner.</p>
  
  <p>There are never examples where repositories have methods like <code>insertUser(User $user)</code> or <code>updateUser(User $user)</code>.</p>
  
  <p>However, when using SOA, Service should not be working with Entity Manager (that's right, isn't it?) so: </p>
  
  <ol>
  <li>Should my service be aware of the global EntityManager?</li>
  <li>Should my service know only about the used Repositories (let's say, UserRepository &amp; ArticleRepository)</li>
  </ol>
  
  <p>From that both questions, another one, should my service ever explicitly <code>persist()</code> &amp; <code>flush()</code> my entities ?</p>