Skip to content
Commit 35e3bb62 authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Benni Mack
Browse files

[TASK] Avoid creation of ClassSchema instances

The extbase container provides a method isSingleton that
checks if a class implements the SingletonInterface interface.

It did so by creating a ClassSchema instance for the given
class name which is not needed as there are more efficient
ways to check for implemented interfaces that don't require
the creation of a ClassSchema instance.

Releases: master
Resolves: #90798
Change-Id: I62a3290c2d3c100a967f5a98b3d901cd61ca0db6
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63820


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent bf4d7578
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment