‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Command\LockBackendCommand Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Command\LockBackendCommand:

Protected Member Functions

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

Detailed Description

Core function for locking the TYPO3 Backend

Definition at line 31 of file LockBackendCommand.php.

Member Function Documentation

◆ configure()

TYPO3\CMS\Backend\Command\LockBackendCommand::configure ( )
protected

Configure the command by defining the name, options and arguments

Definition at line 36 of file LockBackendCommand.php.

◆ execute()

TYPO3\CMS\Backend\Command\LockBackendCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Executes the command for adding the lock file

Definition at line 49 of file LockBackendCommand.php.

References $output, TYPO3\CMS\Backend\Command\LockBackendCommand\getLockFileName(), and TYPO3\CMS\Core\Utility\GeneralUtility\writeFile().

◆ getLockFileName()

string TYPO3\CMS\Backend\Command\LockBackendCommand::getLockFileName ( )
protected

Location of the file name

Returns
‪string

Definition at line 76 of file LockBackendCommand.php.

References TYPO3\CMS\Core\Core\Environment\getLegacyConfigPath().

Referenced by TYPO3\CMS\Backend\Command\LockBackendCommand\execute().