‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Command\SetupExtensionsCommand Class Reference
Inheritance diagram for TYPO3\CMS\Core\Command\SetupExtensionsCommand:

Public Member Functions

 __construct (private readonly PackageManager $packageManager, private readonly EventDispatcherInterface $eventDispatcher, private readonly PackageActivationService $packageActivationService,)
 

Protected Member Functions

 configure ()
 
 execute (InputInterface $input, OutputInterface $output)
 

Detailed Description

Command for setting up all extensions via CLI.

Definition at line 36 of file SetupExtensionsCommand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Command\SetupExtensionsCommand::__construct ( private readonly PackageManager  $packageManager,
private readonly EventDispatcherInterface  $eventDispatcher,
private readonly PackageActivationService  $packageActivationService 
)

Definition at line 38 of file SetupExtensionsCommand.php.

Member Function Documentation

◆ configure()

TYPO3\CMS\Core\Command\SetupExtensionsCommand::configure ( )
protected

Defines the allowed options for this command

Definition at line 49 of file SetupExtensionsCommand.php.

◆ execute()

TYPO3\CMS\Core\Command\SetupExtensionsCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Sets up one or all extensions

Definition at line 75 of file SetupExtensionsCommand.php.

References $output, and TYPO3\CMS\Core\Core\Bootstrap\initializeBackendAuthentication().