UPD version 0.9.12
This commit is contained in:
@ -17,8 +17,7 @@ use Joomla\DI\Container;
|
||||
use Joomla\DI\ServiceProviderInterface;
|
||||
use KW4NZ\Component\Depot\Administrator\Extension\DepotComponent;
|
||||
|
||||
return new class implements ServiceProviderInterface
|
||||
{
|
||||
return new class implements ServiceProviderInterface {
|
||||
public function register(Container $container)
|
||||
{
|
||||
$container->registerServiceProvider(new ComponentDispatcherFactory('\\KW4NZ\\Component\\Depot'));
|
||||
@ -26,8 +25,7 @@ return new class implements ServiceProviderInterface
|
||||
|
||||
$container->set(
|
||||
ComponentInterface::class,
|
||||
function (Container $container)
|
||||
{
|
||||
function (Container $container) {
|
||||
$component = new DepotComponent($container->get(ComponentDispatcherFactoryInterface::class));
|
||||
$component->setMVCFactory($container->get(MVCFactoryInterface::class));
|
||||
|
||||
|
Reference in New Issue
Block a user