. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 85.13.141.101 / Your IP :
216.73.216.170 [
Web Server : Apache System : Linux dd40236 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : w00ad34b ( 1052) PHP Version : 8.2.30-nmm1 Disable Function : NONE Domains : 429 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/htdocs/w00ad34b/pdf.rainer-gegner.de/libraries/src/WebAsset/ |
Upload File : |
<?php
/**
* Joomla! Content Management System
*
* @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\WebAsset;
// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects
/**
* Web Asset Item interface
*
* Asset Item are "read only" object, all properties must be set through class constructor.
* Only properties allowed to be edited is an attributes and an options.
* Changing an uri or a dependencies are not allowed, prefer to create a new asset instance.
*
* @since 4.0.0
*/
interface WebAssetItemInterface
{
/**
* Return Asset name
*
* @return string
*
* @since 4.0.0
*/
public function getName(): string;
/**
* Return Asset version
*
* @return string
*
* @since 4.0.0
*/
public function getVersion(): string;
/**
* Return dependencies list
*
* @return array
*
* @since 4.0.0
*/
public function getDependencies(): array;
/**
* Get the URI of the asset
*
* @param boolean $resolvePath Whether need to search for a real paths
*
* @return string
*
* @since 4.0.0
*/
public function getUri($resolvePath = true): string;
/**
* Get the option
*
* @param string $key An option key
* @param string $default A default value
*
* @return mixed
*
* @since 4.0.0
*/
public function getOption(string $key, $default = null);
/**
* Set the option
*
* @param string $key An option key
* @param string $value An option value
*
* @return self
*
* @since 4.0.0
*/
public function setOption(string $key, $value = null): WebAssetItemInterface;
/**
* Get all options of the asset
*
* @return array
*
* @since 4.0.0
*/
public function getOptions(): array;
/**
* Get the attribute
*
* @param string $key An attributes key
* @param string $default A default value
*
* @return mixed
*
* @since 4.0.0
*/
public function getAttribute(string $key, $default = null);
/**
* Set the attribute
*
* @param string $key An attribute key
* @param string $value An attribute value
*
* @return self
*
* @since 4.0.0
*/
public function setAttribute(string $key, $value = null): WebAssetItemInterface;
/**
* Get all attributes
*
* @return array
*
* @since 4.0.0
*/
public function getAttributes(): array;
}