‪TYPO3CMS  10.4
ServiceProvider.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
18 namespace ‪TYPO3\CMS\Lowlevel;
19 
20 use Psr\Container\ContainerInterface;
22 
27 {
28  protected static function ‪getPackagePath(): string
29  {
30  return __DIR__ . '/../';
31  }
32 
33  public function ‪getFactories(): array
34  {
35  return [
36  Controller\ConfigurationController::class => [ static::class, 'getConfigurationController' ],
37  ];
38  }
39 
40  public static function ‪getConfigurationController(ContainerInterface $container): Controller\ConfigurationController
41  {
42  return ‪self::new($container, Controller\ConfigurationController::class, [$container]);
43  }
44 }
‪TYPO3\CMS\Lowlevel\ServiceProvider\getFactories
‪getFactories()
Definition: ServiceProvider.php:33
‪TYPO3\CMS\Core\Package\AbstractServiceProvider
Definition: AbstractServiceProvider.php:31
‪TYPO3\CMS\Lowlevel\ServiceProvider
Definition: ServiceProvider.php:27
‪TYPO3\CMS\Core\Package\AbstractServiceProvider\new
‪static mixed new(ContainerInterface $container, string $className, array $constructorArguments=[])
Definition: AbstractServiceProvider.php:116
‪TYPO3\CMS\Lowlevel
Definition: LegacyClassesForIde.php:20
‪TYPO3\CMS\Lowlevel\ServiceProvider\getConfigurationController
‪static getConfigurationController(ContainerInterface $container)
Definition: ServiceProvider.php:40
‪TYPO3\CMS\Lowlevel\ServiceProvider\getPackagePath
‪static getPackagePath()
Definition: ServiceProvider.php:28