title: Pimple DI share deprecated. Now what?
body: <p>In Pimple 1.0 I used to be able to share class instances like this:</p>
  
  <pre><code>$app['some_service'] = $app-&gt;share(function () {
      return new Service();
  });
  </code></pre>
  
  <p>This now seems to be deprecated and I am unable to find what is the new way of doing this.</p>