ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
PublicAsset.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Component\Resource;
22 
26 interface PublicAsset
27 {
29  public function getSource(): string;
31  public function getTarget(): string;
32 }
getTarget()
The new path of relative to the ILIAS public directory.
An public asset is a file or folder that should be served via the web.
Definition: PublicAsset.php:26
getSource()
The path of asset relative to the ILIAS base directory.