Plugin
class Plugin extends Model
Plugin
Übergeordnete Pluginklasse für die Verarbeitung von Plugininformationen.
Properties
protected string | $name | ||
protected string | $version | ||
protected URI | $url | ||
protected Plugin> | $dependencies |
Methods
__construct(string $name, string $version = 'latest')
__construct
string
getName()
getName
string
getVersion()
getVersion
setVersion(string $version)
setVersion
URI
getUrl()
getUrl
Plugin>
getDependencies()
getDependencies
setDependencies(Collection $dependencies)
setDependencies
static Plugin
getInstanceFromArray(array $array)
Neues Objekt erstellen
Details
in Model at line 45
static Model
getInstanceFromJson(string $json)
Instanz aus einem JSON-String erstellen
at line 66
__construct(string $name, string $version = 'latest')
__construct
at line 78
string
getName()
getName
at line 89
Plugin
setName(string $name)
setName
at line 100
string
getVersion()
getVersion
at line 111
Plugin
setVersion(string $version)
setVersion
at line 121
URI
getUrl()
getUrl
at line 132
Plugin
setUrl(URI $url)
setUrl
at line 142
Plugin>
getDependencies()
getDependencies
at line 153
Plugin
setDependencies(Collection $dependencies)
setDependencies
at line 166
static Plugin
getInstanceFromArray(array $array)
Neues Objekt erstellen