<p dir="auto">Using 2.5.x-dev (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/symfony/symfony/commit/7e573f4f8a7ff7061ebf3f85835bc307145f2ddf/hovercard" href="https://github.com/symfony/symfony/commit/7e573f4f8a7ff7061ebf3f85835bc307145f2ddf"><tt>7e573f4</tt></a>)</p>
<p dir="auto">Duplicated property throws error in appDevDebugProjectContainer  :</p>
<blockquote>
<p dir="auto">PHP Fatal error:  Cannot redeclare appDevDebugProjectContainer::$parameters in home/vagrant/var/www/app/cache/dev/appDevDebugProjectContainer.php on line 22</p>
</blockquote>
<p dir="auto">Maybe coming from this line </p><div class="Box Box--condensed my-2">
  <div class="Box-header f6">
    <p class="mb-0 text-bold">
      <a href="https://github.com/symfony/symfony/blob/7e573f4f8a7ff7061ebf3f85835bc307145f2ddf/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php#L846">symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php</a>
    </p>
    <p class="mb-0 color-fg-muted">
         Line 846
      in
      <a data-pjax="true" class="commit-tease-sha" href="/symfony/symfony/commit/7e573f4f8a7ff7061ebf3f85835bc307145f2ddf">7e573f4</a>
    </p>
  </div>
  <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
    <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">

        <tbody><tr class="border-0">
          <td id="L846" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="846"></td>
          <td id="LC846" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s">    private \$parameters;</span> </td>
        </tr>
    </tbody></table>
  </div>
</div>
<p></p>
<p dir="auto"><code class="notranslate">ReflectionExtractor</code> currently supports array mutators (<code class="notranslate">add</code>, <code class="notranslate">remove</code>) but it's not very useful as the singular method name is not being checked.</p>
<p dir="auto">If we can use <code class="notranslate">doctrine/inflector</code> to singularize the property name, we'll be able to pick up a lot more useful information in many cases. I'll open a PR if this is desirable (looking at the <code class="notranslate">composer.json</code> of Symfony components, I understand that it has to be an optional dependency).</p>