Closed bezin closed 6 years ago
Is the getInstance()
method available in all Contao versions?
Yes, I have noticed and asked for a change back in 3.4 for performance reasons. See https://github.com/contao/core/issues/7324
It is available since 3.5.
Edit: The constructor is protected since 3.5. getInstance()
is available since 3.4 as @Toflar mentioned :)
Hello there,
while working with Haste I stumbled upon a tiny issue in the ModelData class. It instantiated a new DcaExtractor object rather than getting an instance via getInstance. DcaExtractors constructor is private, hence a fatal error when using this class.
Cheerio