I have a composer based TYPO3 7.6 installation and want to create an Extbase extension with a command controller.
The controller is registered in ext_localconf.php
but the commmand controller isn't found because the class is not found in typo3/sysext/extbase/Classes/Mvc/Cli/CommandManager.php
in public function getAvailableCommands()
Namespace is also set: namespace Foo\FooT3monitoringNotification\Command;
The class is here Classes/Command/NotificationCommandController.php
.
I've cleared all TYPO3 caches and did composer dump-autoload
. Any idea, what I missed to do or what I can do to find out, why my class isn't put to autoload?
vendor/composer/autoload_
. What might prevent my class being added there? Do I need acomposer.json
in my extension? – Peter Kraumepublic doMyTaskCommand()
? – René Pflammpublic function simpleCommand()
there. – Peter Kraume