$id
$id :
A simple container class for holding information about an available update.
fromJson(string $json, boolean $triggerErrors = false) : \PluginUpdate|null
Create a new instance of PluginUpdate from its JSON-encoded representation.
string | $json | |
boolean | $triggerErrors |
fromPluginInfo(\PluginInfo $info) : \PluginUpdate
Create a new instance of PluginUpdate based on an instance of PluginInfo.
Basically, this just copies a subset of fields from one object to another.
\PluginInfo | $info |
fromObject(\StdClass|\PluginInfo|\PluginUpdate $object) : \PluginUpdate
Create a new instance of PluginUpdate by copying the necessary fields from another object.
\StdClass|\PluginInfo|\PluginUpdate | $object | The source object. |
The new copy.