‪TYPO3CMS  9.5
TYPO3\CMS\Extbase\Command\ExtbaseCommand Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Command\ExtbaseCommand:

Public Member Functions

 setExtbaseCommand (\TYPO3\CMS\Extbase\Mvc\Cli\Command $command)
 
 setApplication (Application $application=null)
 

Protected Member Functions

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

Protected Attributes

TYPO3 CMS Extbase Mvc Cli Command $command
 

Detailed Description

Wrapper to wrap an Extbase command from a command controller into a Symfony Command

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0. Use symfony/console commands instead.

Definition at line 28 of file ExtbaseCommand.php.

Member Function Documentation

◆ configure()

TYPO3\CMS\Extbase\Command\ExtbaseCommand::configure ( )
protected

Extbase has its own validation logic, so it is disabled in this place

Definition at line 38 of file ExtbaseCommand.php.

◆ execute()

TYPO3\CMS\Extbase\Command\ExtbaseCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Executes the command to find any Extbase command

Parameters
InputInterface$input
OutputInterface$output

Definition at line 74 of file ExtbaseCommand.php.

◆ setApplication()

TYPO3\CMS\Extbase\Command\ExtbaseCommand::setApplication ( Application  $application = null)

Sets the application instance for this command. Also uses the setApplication call now, as $this->configure() is called too early

Parameters
Application$application‪An Application instance

Definition at line 60 of file ExtbaseCommand.php.

◆ setExtbaseCommand()

TYPO3\CMS\Extbase\Command\ExtbaseCommand::setExtbaseCommand ( \TYPO3\CMS\Extbase\Mvc\Cli\Command  $command)

Sets the extbase command to be used for fetching the description etc.

Parameters
\TYPO3\CMS\Extbase\Mvc\Cli\Command$command

Definition at line 48 of file ExtbaseCommand.php.

References TYPO3\CMS\Extbase\Command\ExtbaseCommand\$command.

Member Data Documentation

◆ $command

TYPO3 CMS Extbase Mvc Cli Command TYPO3\CMS\Extbase\Command\ExtbaseCommand::$command
protected

Extbase's command

Definition at line 33 of file ExtbaseCommand.php.

Referenced by TYPO3\CMS\Extbase\Command\ExtbaseCommand\setExtbaseCommand().