Back to Joomla project (class list)

Class WebAssetRegistryAssetChanged - list of methods

Event class for WebAssetRegistry "asset changed" events

Extends

Package: Joomla\CMS\Event\WebAsset
Copyright: (C) 2020 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Event/WebAsset/WebAssetRegistryAssetChanged.php
Project: Joomla

Method Summary

public
(mixed $name, array $arguments = array())

Constructor.
Parameters
  • string $name The event name.
  • array $arguments The event arguments.
Since
  • 4.0.0
-
  • \BadMethodCallException
Show source code of this method: __construct Source Code

protected \Joomla\CMS\WebAsset\WebAssetRegistryInterface
(mixed $value)

Setter for the subject argument
Parameters
  • \Joomla\CMS\WebAsset\WebAssetRegistryInterface $value The value to set
Returns
  • \Joomla\CMS\WebAsset\WebAssetRegistryInterface
Since
  • 4.0.0
-
  • \BadMethodCallException if the argument is not of the expected type
Show source code of this method: setSubject Source Code

public \Joomla\CMS\WebAsset\WebAssetItemInterface
()

Return modified asset
Returns
  • \Joomla\CMS\WebAsset\WebAssetItemInterface
Since
  • 4.0.0
Show source code of this method: getAsset Source Code

public string
()

Return a type of modified asset
Returns
  • string
Since
  • 4.0.0
Show source code of this method: getAssetType Source Code

public string
()

Return a type of changes: new, remove, override
Returns
  • string
Since
  • 4.0.0
Show source code of this method: getChange Source Code

Tags Summary

Since
4.0.0