19 declare(strict_types=1);
21 require_once(
'vendor/composer/vendor/autoload.php');
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);
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...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
ilSystemStyleConfigMock $system_style_config
getAllContentOfFolder(string $directory)
ilSystemStyleMessageStack $message_stack
ilSystemStyleConfig wraps all 'constants' to ensure the testability of all classes using those 'const...
ilSkinStyleContainer $container
Used to stack messages to be shown to the user.
ILIAS DI Container $save_dic