ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
FlavourURLs.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
29 {
30  public function __construct(private SrcBuilder $src_builder, private Flavour $flavour)
31  {
32  }
33 
34  public function getURLs(bool $signed = false): \Generator
35  {
36  yield from $this->src_builder->getFlavourURLs($this->flavour, $signed);
37  }
38 
39  public function getURLsAsArray(bool $signed = false): array
40  {
41  return iterator_to_array($this->getURLs($signed));
42  }
43 }
__construct(private SrcBuilder $src_builder, private Flavour $flavour)
Definition: FlavourURLs.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...