19 declare(strict_types=1);
    58         protected string $resource_version,
    59         protected bool $append_resource_version = 
true,
    60         protected bool $strip_queries = 
false,
    61         protected bool $allow_external = 
true,
    62         protected bool $allow_non_existing = 
false,
    70             $this->resource_version,
    71             $this->append_resource_version,
    73             $this->allow_external,
    74             $this->allow_non_existing
    77             $this->resource_version,
    78             $this->append_resource_version,
    80             $this->allow_external,
    81             $this->allow_non_existing
    84             $this->resource_version,
    91             $this->resource_version,
    97         $this->og_meta_data = null;
    98         $this->meta_data = [];
   101     public function addCss(
string $path, 
string $media = self::MEDIA_SCREEN): void
   103         $this->css->addItem(
new Css($path, $this->resource_version, $media));
   106     public function addJs(
string $path, 
bool $add_version_number = 
false, 
int $batch = 2): void
   108         $this->js->addItem(
new Js($path, $this->resource_version, $add_version_number, $batch));
   111     public function addInlineCss(
string $content, 
string $media = self::MEDIA_SCREEN): void
   113         $this->inline_css->addItem(
new InlineCss($content, $this->resource_version, $media));
   118         $this->on_load_code->addItem(
new OnLoadCode($content, $this->resource_version, $batch));
   128         if ($meta_data instanceof 
TagCollection || $meta_data instanceof OpenGraph\
Tag) {
   129             throw new \LogicException(
   131                     'Please use %s::addOpenGraphMetaDatum to add open-graph metadata.',
   140             $this->meta_data[$meta_data->getKey()] = 
$meta_data;
   197             throw new \InvalidArgumentException(
'$text_direction MUST be Standard::LTR, or Standard::RTL');
 addJs(string $path, bool $add_version_number=false, int $batch=2)
 
TagCollection $og_meta_data
 
addInlineCss(string $content, string $media=self::MEDIA_SCREEN)
 
addMetaDatum(Tag $meta_data)
 
__construct(protected string $resource_version, protected bool $append_resource_version=true, protected bool $strip_queries=false, protected bool $allow_external=true, protected bool $allow_non_existing=false,)
 
InlineCssCollection $inline_css
 
OnLoadCodeCollection $on_load_code
 
addCss(string $path, string $media=self::MEDIA_SCREEN)
 
setBaseURL(string $base_url)
 
addOpenGraphMetaDatum(TagCollection $og_meta_data)
 
addOnloadCode(string $content, int $batch=2)
 
setTextDirection(string $text_direction)