19declare(strict_types=1);
21require_once(
'vendor/composer/vendor/autoload.php');
23use PHPUnit\Framework\TestCase;
36 protected function setUp(): void
39 $DIC[
'tpl'] = $this->getMockBuilder(ilGlobalTemplateInterface::class)->getMock();
49 $this->container = $factory->skinStyleContainerFromId(
'skin1', $this->message_stack);
50 $this->style = $this->container->getSkin()->getStyle(
'style1');
55 $files = scandir($directory);
58 foreach ($files as $file) {
59 if (is_file($directory .
'/' . $file)) {
60 $content .= file_get_contents($directory .
'/' . $file);
Customizing of pimple-DIC for ILIAS.
Factory to create Skin classes holds an manages the basic data of a skin as provide by the template o...
This class is responsible for all file system related actions related actions of a skin such as copyi...
ilSystemStyleConfigMock $system_style_config
ilSkinStyleContainer $container
ILIAS DI Container $save_dic
ilSystemStyleMessageStack $message_stack
getAllContentOfFolder(string $directory)
ilSystemStyleConfig wraps all 'constants' to ensure the testability of all classes using those 'const...
Used to stack messages to be shown to the user.