mapguesser/src/View/ParsedFragment.php

49 lines
869 B
PHP
Raw Normal View History

<?php namespace MapGuesser\View;
class ParsedFragment
{
private ?string $extends;
2020-06-27 02:25:54 +02:00
private array $css;
private array $js;
private array $sections;
private array $extra;
2020-06-27 02:25:54 +02:00
public function __construct(?string $extends, array $css, array $js, array $sections, array $extra)
{
$this->extends = $extends;
2020-06-27 02:25:54 +02:00
$this->css = $css;
$this->js = $js;
$this->sections = $sections;
$this->extra = $extra;
}
public function getExtends(): ?string
{
return $this->extends;
}
2020-06-27 02:25:54 +02:00
public function getCss(): array
{
return $this->css;
}
public function getJs(): array
{
return $this->js;
}
public function getSections(): array
{
return $this->sections;
}
public function getExtra(): array
{
return $this->extra;
}
}