From 54c5800ea84d036b46a40fd0ac2e3099a5872268 Mon Sep 17 00:00:00 2001 From: Thomas Kuschel Date: Tue, 3 Oct 2023 17:05:39 +0200 Subject: [PATCH] several files with tabsize 2,4,8 --- test_tab2.php | 39 +++++++++++++++++++++++++++++++++++++++ test_tab4.php | 39 +++++++++++++++++++++++++++++++++++++++ test_tab8.php | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 117 insertions(+) create mode 100644 test_tab2.php create mode 100644 test_tab4.php create mode 100644 test_tab8.php diff --git a/test_tab2.php b/test_tab2.php new file mode 100644 index 0000000..010fccf --- /dev/null +++ b/test_tab2.php @@ -0,0 +1,39 @@ +registerServiceProvider(new ComponentDispatcherFactory('\\XYZ\\Component\\Depot')); + $container->registerServiceProvider(new MVCFactory('\\XYZ\\Component\\Depot')); + + $container->set( + ComponentInterface::class, + function (Container $container) + { + $component = new DepotComponent($container->get(ComponentDispatcherFactoryInterface::class)); + $component->setMVCFactory($container->get(MVCFactoryInterface::class)); + + return $component; + } + ); + } +}; diff --git a/test_tab4.php b/test_tab4.php new file mode 100644 index 0000000..9bf3f17 --- /dev/null +++ b/test_tab4.php @@ -0,0 +1,39 @@ +registerServiceProvider(new ComponentDispatcherFactory('\\XYZ\\Component\\Depot')); + $container->registerServiceProvider(new MVCFactory('\\XYZ\\Component\\Depot')); + + $container->set( + ComponentInterface::class, + function (Container $container) + { + $component = new DepotComponent($container->get(ComponentDispatcherFactoryInterface::class)); + $component->setMVCFactory($container->get(MVCFactoryInterface::class)); + + return $component; + } + ); + } +}; diff --git a/test_tab8.php b/test_tab8.php new file mode 100644 index 0000000..2ebd31a --- /dev/null +++ b/test_tab8.php @@ -0,0 +1,39 @@ +registerServiceProvider(new ComponentDispatcherFactory('\\XYZ\\Component\\Depot')); + $container->registerServiceProvider(new MVCFactory('\\XYZ\\Component\\Depot')); + + $container->set( + ComponentInterface::class, + function (Container $container) + { + $component = new DepotComponent($container->get(ComponentDispatcherFactoryInterface::class)); + $component->setMVCFactory($container->get(MVCFactoryInterface::class)); + + return $component; + } + ); + } +};