p6 5v$pH@ `7 ҄Cnwp@ P8 bј@ 7 lj<@ p: r;p@ ; Ϡ*o!T@ = bwO; @ > hS P@ @ Q/ 6wx@ B )f @ pC 2@ M F| X@ ps wh @ u BW1 @ `w 9egؐ @ y { @ @ 7m h @ 0Y P 0 wk ^ 0 [ w (
/** * The Container class. * * @since 1.0 */class Container implements ContainerInterface{ /** * Holds the key aliases. * * Format: * * @param string $file * @return void */ self::$includeFile = \Closure::bind(static function($file) { include $file; }, null, null); }} */ public function loadClass($class) { if ($file = $this->findFile($class)) { $includeFile = self::$includeFile; $includeFile($file); return true; } return null; * * @since 3.4 */ public function loadClass($class) { if ($result = $this->loader->loadClass($class)) { \JLoader::applyAliasFor($class); } return $result; } * * @since 4.0.0 */ protected static function createContainer(): Container { $container = (new Container()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Application()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Authentication()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\CacheController()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\CaptchaRegistry()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Config()) * @since 4.0.0 */ public static function getContainer(): Container { if (!self::$container) { self::$container = self::createContainer(); } return self::$container; }// Set profiler start time and memory usage and mark afterLoad in the profiler.JDEBUG && \Joomla\CMS\Profiler\Profiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad');// Boot the DI container$container = \Joomla\CMS\Factory::getContainer();/* * Alias the session service keys to the web session service as that is the primary session backend for this application * * In addition to aliasing "common" service keys, we also create aliases for the PHP classes to ensure autowiring objects * define() is used rather than "const" to not error for PHP 5.2 and lower */define('_JEXEC', 1);// Run the application - All executable code should be triggered through this filerequire_once dirname(__FILE__) . '/includes/app.php';|
ClassNotFoundError
|
|---|
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load interface "ContainerInterface" from namespace "Psr\Container".
Did you forget a "use" statement for another namespace?
at /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/Container.php:22
at include()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/composer/ClassLoader.php:576)
at Composer\Autoload\{closure}('/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/composer/../joomla/di/src/Container.php')
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/composer/ClassLoader.php:427)
at Composer\Autoload\ClassLoader->loadClass('Joomla\\DI\\Container')
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Autoload/ClassLoader.php:59)
at Joomla\CMS\Autoload\ClassLoader->loadClass('Joomla\\DI\\Container')
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Factory.php:605)
at Joomla\CMS\Factory::createContainer()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Factory.php:241)
at Joomla\CMS\Factory::getContainer()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php:35)
at require_once('/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php')
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/index.php:32)
|