[TASK] Check lightweight cases before class_exists if possible 27/22627/3
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 27 Jul 2013 20:22:23 +0000 (22:22 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 28 Jul 2013 12:04:56 +0000 (14:04 +0200)
commit2bf4bc32230bf23a77420ba1b639206c43142784
tree90909143bc5e32ddee5db3f12c247a0666a48985
parent9c6d50290ec4fc0cd9bff61f6959ae754cbe5e8c
[TASK] Check lightweight cases before class_exists if possible

If other checks like "in_array" can be done first that are more
lightweight than calling class_exists and potentially causing
(multiple) autoloaders (without success) to search for files.

Resolves: #50494
Releases 6.2

Change-Id: I9b2010c09591fd02eefdc57f869edd80d4106e14
Reviewed-on: https://review.typo3.org/22627
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Resource/Driver/DriverRegistry.php
typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php