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.
Package: Joomla\CMS\WebAsset
Copyright: (C) 2019 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/WebAsset/WebAssetItemInterface.php