{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"typo3 extbase @inject implementation","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/78 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"78\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\" id=\"parsing\">\n<h1 class=\"title\">Parsing<\/h1>\n\n<p>Parsing of class property <tt class=\"docutils literal\">&#64;inject<\/tt> annotations happens in\n<tt class=\"docutils literal\">typo3\/sysext\/extbase\/Classes\/Object\/Container\/ClassInfoFactory.php<\/tt>.<\/p>\n<p>Previously, <tt class=\"docutils literal\">injectPropertyName()<\/tt> methods were used - but those got replaced with the annotations in <a class=\"reference external\" href=\"http:\/\/forge.typo3.org\/issues\/46598\">http:\/\/forge.typo3.org\/issues\/46598<\/a> (&quot;Use &#64;inject instead of inject...-methods&quot;).<\/p>\n<p>It seems they slow down TYPO3 by 5%, so the annotations will be replaced again by the <tt class=\"docutils literal\"><span class=\"pre\">inject..()<\/span><\/tt> methods: <a class=\"reference external\" href=\"http:\/\/forge.typo3.org\/issues\/54605\">http:\/\/forge.typo3.org\/issues\/54605<\/a> (&quot;Inject annotations should not be used by core (~5% performance)&quot;)<\/p>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/78\/rev-raw\/0b1aee53f8e53583f03547fabace8b2e6cc60a2e\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/78#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
