[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/WebAsset/ -> WebAssetRegistryInterface.php (summary)

Joomla! Content Management System

Copyright: (C) 2019 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 74 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WebAssetRegistryInterface:: (4 methods):
  get()
  add()
  remove()
  exists()


Interface: WebAssetRegistryInterface  - X-Ref

Web Asset Registry interface

get(string $type, string $name)   X-Ref
Get an existing Asset from a registry, by asset name and asset type.

param: string  $type  Asset type, script or style etc
param: string  $name  Asset name
return: WebAssetItem

add(string $type, WebAssetItemInterface $asset)   X-Ref
Add Asset to registry of known assets

param: string                 $type   Asset type, script or style etc
param: WebAssetItemInterface  $asset  Asset instance
return: self

remove(string $type, string $name)   X-Ref
Remove Asset from registry.

param: string  $type  Asset type, script or style etc
param: string  $name  Asset name
return: self

exists(string $type, string $name)   X-Ref
Check whether the asset exists in the registry.

param: string  $type  Asset type, script or style etc
param: string  $name  Asset name
return: boolean



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer