SilverStripe\Assets\ImageManipulation::setAttribute
Add a HTML attribute when rendering this object. This method is immutable, it will return you a copy of the original object.
Signature
public function setAttribute(string
$name,
mixed
$value )
Parameters
$name
— string$value
— mixed
Returns
- AssetContainer