‪TYPO3CMS  ‪main
TYPO3\CMS\Install\ServiceProvider Class Reference
Inheritance diagram for TYPO3\CMS\Install\ServiceProvider:
TYPO3\CMS\Core\Package\AbstractServiceProvider TYPO3\CMS\Core\DependencyInjection\ServiceProviderInterface

Public Member Functions

 getFactories ()
 
 getExtensions ()
 
 getSetupDefaultBackendUserGroupsCommand (ContainerInterface $container)
 

Static Public Member Functions

static getAuthenticationService (ContainerInterface $container)
 
static getApplication (ContainerInterface $container)
 
static getNotFoundRequestHandler (ContainerInterface $container)
 
static getClearCacheService (ContainerInterface $container)
 
static getClearTableService (ContainerInterface $container)
 
static getCoreUpdateService (ContainerInterface $container)
 
static getCoreVersionService (ContainerInterface $container)
 
static getLanguagePackService (ContainerInterface $container)
 
static getLateBootService (ContainerInterface $container)
 
static getLoadTcaService (ContainerInterface $container)
 
static getSilentConfigurationUpgradeService (ContainerInterface $container)
 
static getSilentTemplateFileUpgradeService (ContainerInterface $container)
 
static getWebServerConfigurationFileService (ContainerInterface $container)
 
static getDatabaseUpgradeWizardsService (ContainerInterface $container)
 
static getSessionService (ContainerInterface $container)
 
static getSetupService (ContainerInterface $container)
 
static getSetupDatabaseService (ContainerInterface $container)
 
static getInstallerMiddleware (ContainerInterface $container)
 
static getMaintenanceMiddleware (ContainerInterface $container)
 
static getEnvironmentController (ContainerInterface $container)
 
static getIconController (ContainerInterface $container)
 
static getInstallerController (ContainerInterface $container)
 
static getLayoutController (ContainerInterface $container)
 
static getLoginController (ContainerInterface $container)
 
static getMaintenanceController (ContainerInterface $container)
 
static getSettingsController (ContainerInterface $container)
 
static getServerResponseCheckController (ContainerInterface $container)
 
static getUpgradeController (ContainerInterface $container)
 
static getLanguagePackCommand (ContainerInterface $container)
 
static getUpgradeWizardRunCommand (ContainerInterface $container)
 
static getUpgradeWizardListCommand (ContainerInterface $container)
 
static getSetupCommand (ContainerInterface $container)
 
static getPermissionsCheck (ContainerInterface $container)
 
static getMailer (ContainerInterface $container)
 
static getDatabaseUpdatedPrerequisite (ContainerInterface $container)
 
static configureCommands (ContainerInterface $container, CommandRegistry $commandRegistry)
 
- ‪Static Public Member Functions inherited from ‪TYPO3\CMS\Core\Package\AbstractServiceProvider
static configureMiddlewares (ContainerInterface $container, \ArrayObject $middlewares, string $path=null)
 
static configureBackendRoutes (ContainerInterface $container, \ArrayObject $routes, string $path=null, string $packageName=null)
 
static configureBackendModules (ContainerInterface $container, \ArrayObject $modules, string $path=null, string $packageName=null)
 
static Map< Scope, configureContentSecurityPolicies(ContainerInterface $container, Map $mutations, string $path=null, string $packageName=null):Map { $path=$path ?? static::getPackagePath();$packageName=$packageName ?? static::getPackageName();$fileName=$path . 'Configuration/ContentSecurityPolicies.php';if(file_exists( $fileName)) { $mutationsInPackage=require $fileName;foreach( $mutationsInPackage as $scope=> $mutation) { if(!isset( $mutations[ $scope])) { $mutations[ $scope]=new Map();} $origin=new MutationOrigin(MutationOriginType::package, $packageName);$mutations[ $scope][ $origin]=$mutation;} } return $mutations;} public static function configureIcons(ContainerInterface $container, \ArrayObject $icons, string $path=null):\ArrayObject { $path=$path ?? static::getPackagePath();$iconsFileNameForPackage=$path . 'Configuration/Icons.php';if(file_exists( $iconsFileNameForPackage)) { $definedIconsInPackage=require $iconsFileNameForPackage;if(is_array( $definedIconsInPackage)) { $icons-> exchangeArray (array_merge($icons->getArrayCopy(), $definedIconsInPackage))
 
static configureSetCollector (ContainerInterface $container, SetCollector $setCollector, string $path=null)
 

Static Protected Member Functions

static getPackagePath ()
 
static getPackageName ()
 
- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Package\AbstractServiceProvider
static mixed new (ContainerInterface $container, string $className, array $constructorArguments=[])
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Core\Package\AbstractServiceProvider
return $icons
 

Detailed Description

Definition at line 61 of file ServiceProvider.php.

Member Function Documentation

◆ configureCommands()

static TYPO3\CMS\Install\ServiceProvider::configureCommands ( ContainerInterface  $container,
CommandRegistry  $commandRegistry 
)
static

◆ getApplication()

static TYPO3\CMS\Install\ServiceProvider::getApplication ( ContainerInterface  $container)
static

Definition at line 132 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getAuthenticationService()

static TYPO3\CMS\Install\ServiceProvider::getAuthenticationService ( ContainerInterface  $container)
static

Definition at line 125 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getClearCacheService()

static TYPO3\CMS\Install\ServiceProvider::getClearCacheService ( ContainerInterface  $container)
static

Definition at line 151 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getClearTableService()

static TYPO3\CMS\Install\ServiceProvider::getClearTableService ( ContainerInterface  $container)
static

Definition at line 159 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getCoreUpdateService()

static TYPO3\CMS\Install\ServiceProvider::getCoreUpdateService ( ContainerInterface  $container)
static

Definition at line 166 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getCoreVersionService()

static TYPO3\CMS\Install\ServiceProvider::getCoreVersionService ( ContainerInterface  $container)
static

Definition at line 173 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getDatabaseUpdatedPrerequisite()

static TYPO3\CMS\Install\ServiceProvider::getDatabaseUpdatedPrerequisite ( ContainerInterface  $container)
static

◆ getDatabaseUpgradeWizardsService()

static TYPO3\CMS\Install\ServiceProvider::getDatabaseUpgradeWizardsService ( ContainerInterface  $container)
static

◆ getEnvironmentController()

static TYPO3\CMS\Install\ServiceProvider::getEnvironmentController ( ContainerInterface  $container)
static

Definition at line 276 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getExtensions()

TYPO3\CMS\Install\ServiceProvider::getExtensions ( )

Returns a list of all container entries extended by this service provider.

  • ‪the key is the entry name
  • ‪the value is a callable that will return the modified entry

Callables have the following signature: function(Psr\Container\ContainerInterface $container, $previous) or function(Psr\Container\ContainerInterface $container, $previous = null)

About factories parameters:

  • ‪the container (instance of Psr\Container\ContainerInterface)
  • ‪the entry to be extended. If the entry to be extended does not exist and the parameter is nullable, null will be passed.
Returns
‪callable[]

Reimplemented from TYPO3\CMS\Core\Package\AbstractServiceProvider.

Definition at line 115 of file ServiceProvider.php.

References TYPO3\CMS\Install\ServiceProvider\configureCommands().

◆ getFactories()

TYPO3\CMS\Install\ServiceProvider::getFactories ( )

Returns a list of all container entries registered by this service provider.

  • ‪the key is the entry name
  • ‪the value is a callable that will return the entry, aka the factory

Factories have the following signature: function(\Psr\Container\ContainerInterface $container)

Returns
‪callable[]

Reimplemented from TYPO3\CMS\Core\Package\AbstractServiceProvider.

Definition at line 73 of file ServiceProvider.php.

References TYPO3\CMS\Install\ServiceProvider\getApplication(), TYPO3\CMS\Install\ServiceProvider\getAuthenticationService(), TYPO3\CMS\Install\ServiceProvider\getClearCacheService(), TYPO3\CMS\Install\ServiceProvider\getClearTableService(), TYPO3\CMS\Install\ServiceProvider\getCoreUpdateService(), TYPO3\CMS\Install\ServiceProvider\getCoreVersionService(), TYPO3\CMS\Install\ServiceProvider\getDatabaseUpdatedPrerequisite(), TYPO3\CMS\Install\ServiceProvider\getDatabaseUpgradeWizardsService(), TYPO3\CMS\Install\ServiceProvider\getEnvironmentController(), TYPO3\CMS\Install\ServiceProvider\getIconController(), TYPO3\CMS\Install\ServiceProvider\getInstallerController(), TYPO3\CMS\Install\ServiceProvider\getInstallerMiddleware(), TYPO3\CMS\Install\ServiceProvider\getLanguagePackCommand(), TYPO3\CMS\Install\ServiceProvider\getLanguagePackService(), TYPO3\CMS\Install\ServiceProvider\getLateBootService(), TYPO3\CMS\Install\ServiceProvider\getLayoutController(), TYPO3\CMS\Install\ServiceProvider\getLoadTcaService(), TYPO3\CMS\Install\ServiceProvider\getLoginController(), TYPO3\CMS\Install\ServiceProvider\getMailer(), TYPO3\CMS\Install\ServiceProvider\getMaintenanceController(), TYPO3\CMS\Install\ServiceProvider\getMaintenanceMiddleware(), TYPO3\CMS\Install\ServiceProvider\getNotFoundRequestHandler(), TYPO3\CMS\Install\ServiceProvider\getPermissionsCheck(), TYPO3\CMS\Install\ServiceProvider\getServerResponseCheckController(), TYPO3\CMS\Install\ServiceProvider\getSessionService(), TYPO3\CMS\Install\ServiceProvider\getSettingsController(), TYPO3\CMS\Install\ServiceProvider\getSetupCommand(), TYPO3\CMS\Install\ServiceProvider\getSetupDatabaseService(), TYPO3\CMS\Install\ServiceProvider\getSetupDefaultBackendUserGroupsCommand(), TYPO3\CMS\Install\ServiceProvider\getSetupService(), TYPO3\CMS\Install\ServiceProvider\getSilentConfigurationUpgradeService(), TYPO3\CMS\Install\ServiceProvider\getSilentTemplateFileUpgradeService(), TYPO3\CMS\Install\ServiceProvider\getUpgradeController(), TYPO3\CMS\Install\ServiceProvider\getUpgradeWizardListCommand(), TYPO3\CMS\Install\ServiceProvider\getUpgradeWizardRunCommand(), and TYPO3\CMS\Install\ServiceProvider\getWebServerConfigurationFileService().

◆ getIconController()

static TYPO3\CMS\Install\ServiceProvider::getIconController ( ContainerInterface  $container)
static

Definition at line 285 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getInstallerController()

static TYPO3\CMS\Install\ServiceProvider::getInstallerController ( ContainerInterface  $container)
static

Definition at line 293 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getInstallerMiddleware()

static TYPO3\CMS\Install\ServiceProvider::getInstallerMiddleware ( ContainerInterface  $container)
static

Definition at line 255 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getLanguagePackCommand()

static TYPO3\CMS\Install\ServiceProvider::getLanguagePackCommand ( ContainerInterface  $container)
static

Definition at line 373 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getLanguagePackService()

static TYPO3\CMS\Install\ServiceProvider::getLanguagePackService ( ContainerInterface  $container)
static

Definition at line 178 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getLateBootService()

static TYPO3\CMS\Install\ServiceProvider::getLateBootService ( ContainerInterface  $container)
static

Definition at line 187 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getLayoutController()

static TYPO3\CMS\Install\ServiceProvider::getLayoutController ( ContainerInterface  $container)
static

Definition at line 309 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getLoadTcaService()

static TYPO3\CMS\Install\ServiceProvider::getLoadTcaService ( ContainerInterface  $container)
static

Definition at line 195 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getLoginController()

static TYPO3\CMS\Install\ServiceProvider::getLoginController ( ContainerInterface  $container)
static

Definition at line 320 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getMailer()

static TYPO3\CMS\Install\ServiceProvider::getMailer ( ContainerInterface  $container)
static

◆ getMaintenanceController()

static TYPO3\CMS\Install\ServiceProvider::getMaintenanceController ( ContainerInterface  $container)
static

Definition at line 328 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getMaintenanceMiddleware()

static TYPO3\CMS\Install\ServiceProvider::getMaintenanceMiddleware ( ContainerInterface  $container)
static

Definition at line 264 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getNotFoundRequestHandler()

static TYPO3\CMS\Install\ServiceProvider::getNotFoundRequestHandler ( ContainerInterface  $container)
static

Definition at line 146 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getPackageName()

static TYPO3\CMS\Install\ServiceProvider::getPackageName ( )
staticprotected

Return the composer package name. This is the 'name' attribute in composer.json. Note composer.json existence for 'extensions' is still not mandatory in non-composer mode, the method returns empty string in this case.

Reimplemented from TYPO3\CMS\Core\Package\AbstractServiceProvider.

Definition at line 68 of file ServiceProvider.php.

◆ getPackagePath()

static TYPO3\CMS\Install\ServiceProvider::getPackagePath ( )
staticprotected

Return the path to the package location, including trailing slash should return the value of: DIR . '/../' for ServiceProviders located in the Classes/ directory

Reimplemented from TYPO3\CMS\Core\Package\AbstractServiceProvider.

Definition at line 63 of file ServiceProvider.php.

◆ getPermissionsCheck()

static TYPO3\CMS\Install\ServiceProvider::getPermissionsCheck ( ContainerInterface  $container)
static

Definition at line 419 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getServerResponseCheckController()

static TYPO3\CMS\Install\ServiceProvider::getServerResponseCheckController ( ContainerInterface  $container)
static

Definition at line 356 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getSessionService()

static TYPO3\CMS\Install\ServiceProvider::getSessionService ( ContainerInterface  $container)
static

Definition at line 228 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getSettingsController()

static TYPO3\CMS\Install\ServiceProvider::getSettingsController ( ContainerInterface  $container)
static

Definition at line 343 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getSetupCommand()

static TYPO3\CMS\Install\ServiceProvider::getSetupCommand ( ContainerInterface  $container)
static

Definition at line 399 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getSetupDatabaseService()

static TYPO3\CMS\Install\ServiceProvider::getSetupDatabaseService ( ContainerInterface  $container)
static

Definition at line 244 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getSetupDefaultBackendUserGroupsCommand()

TYPO3\CMS\Install\ServiceProvider::getSetupDefaultBackendUserGroupsCommand ( ContainerInterface  $container)

Definition at line 411 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getSetupService()

static TYPO3\CMS\Install\ServiceProvider::getSetupService ( ContainerInterface  $container)
static

Definition at line 235 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getSilentConfigurationUpgradeService()

static TYPO3\CMS\Install\ServiceProvider::getSilentConfigurationUpgradeService ( ContainerInterface  $container)
static

Definition at line 202 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getSilentTemplateFileUpgradeService()

static TYPO3\CMS\Install\ServiceProvider::getSilentTemplateFileUpgradeService ( ContainerInterface  $container)
static

Definition at line 209 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getUpgradeController()

static TYPO3\CMS\Install\ServiceProvider::getUpgradeController ( ContainerInterface  $container)
static

Definition at line 363 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getUpgradeWizardListCommand()

static TYPO3\CMS\Install\ServiceProvider::getUpgradeWizardListCommand ( ContainerInterface  $container)
static

Definition at line 391 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getUpgradeWizardRunCommand()

static TYPO3\CMS\Install\ServiceProvider::getUpgradeWizardRunCommand ( ContainerInterface  $container)
static

Definition at line 381 of file ServiceProvider.php.

Referenced by TYPO3\CMS\Install\ServiceProvider\getFactories().

◆ getWebServerConfigurationFileService()

static TYPO3\CMS\Install\ServiceProvider::getWebServerConfigurationFileService ( ContainerInterface  $container)
static