<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>typo3 extbase @inject implementation</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/78 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="78"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document" id="parsing"&gt;
&lt;h1 class="title"&gt;Parsing&lt;/h1&gt;

&lt;p&gt;Parsing of class property &lt;tt class="docutils literal"&gt;&amp;#64;inject&lt;/tt&gt; annotations happens in
&lt;tt class="docutils literal"&gt;typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Previously, &lt;tt class="docutils literal"&gt;injectPropertyName()&lt;/tt&gt; methods were used - but those got replaced with the annotations in &lt;a class="reference external" href="http://forge.typo3.org/issues/46598"&gt;http://forge.typo3.org/issues/46598&lt;/a&gt; (&amp;quot;Use &amp;#64;inject instead of inject...-methods&amp;quot;).&lt;/p&gt;
&lt;p&gt;It seems they slow down TYPO3 by 5%, so the annotations will be replaced again by the &lt;tt class="docutils literal"&gt;&lt;span class="pre"&gt;inject..()&lt;/span&gt;&lt;/tt&gt; methods: &lt;a class="reference external" href="http://forge.typo3.org/issues/54605"&gt;http://forge.typo3.org/issues/54605&lt;/a&gt; (&amp;quot;Inject annotations should not be used by core (~5% performance)&amp;quot;)&lt;/p&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/78/rev-raw/0b1aee53f8e53583f03547fabace8b2e6cc60a2e/README.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/78#README.rst"&gt;README.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
