[TYPO3-core] Namespace question: Interfaces
Ernesto Baschny [cron IT]
ernst at cron-it.de
Tue Sep 4 11:15:56 CEST 2012
Hi,
I am stumbling over a "Fatal Error" of extdeveval, which is:
Fatal error: Declaration of tx_extdevevalDevLinks::__construct() must be
compatible with that of
TYPO3\CMS\Backend\Toolbar\ToolbarItemHookInterface::__construct() in
/www/sites/typo3-60.typo3-auftritt.de/html/typo3conf/ext/extdeveval/class.tx_extdeveval_additionalBackendItems.php
on line 34
The extdeveval ships with such a class:
class tx_extdevevalDevLinks implements backend_toolbarItem
and has a constructor like this:
public function __construct(TYPO3backend &$backendReference = null) {
The extension works again in 6.0 after I change the constructor to:
public function
__construct(\TYPO3\CMS\Backend\Controller\BackendController
&$backendReference = null) {
The interface function signatures were changed.
More information about the TYPO3-team-core
mailing list