Created
August 28, 2013 22:35
-
-
Save benjaminrau/6372250 to your computer and use it in GitHub Desktop.
With the if clause the error below doesnt occur! Fatal error: Cannot redeclare class TYPO3\CMS\Core\SingletonInterface in /Users/benjaminrau/Dropbox/codearts/Kunden/Interwall/prisma/htdocs/typo3/sysext/core/Classes/SingletonInterface.php on line 38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$declaredInterfaces = get_declared_interfaces(); | |
if (FALSE === array_search('TYPO3\CMS\Core\SingletonInterface', $declaredInterfaces)) { | |
interface SingletonInterface { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment