Documentation

PluginDescription
in package

Table of Contents

$api  : array<string|int, mixed>
$authors  : array<string|int, mixed>
$commands  : array<string|int, mixed>
$compatibleMcpeProtocols  : array<string|int, mixed>
$compatibleOperatingSystems  : array<string|int, mixed>
$depend  : array<string|int, mixed>
$description  : string
$extensions  : array<string|int, mixed>
$loadBefore  : array<string|int, mixed>
$main  : string
$map  : array<string|int, mixed>
$name  : string
$order  : PluginEnableOrder
$permissions  : array<string|int, mixed>
$prefix  : string
$softDepend  : array<string|int, mixed>
$srcNamespacePrefix  : string
$version  : string
$website  : string
__construct()  : mixed
getAuthors()  : array<string|int, string>
getCommands()  : array<string|int, PluginDescriptionCommandEntry>
getCompatibleApis()  : array<string|int, string>
getCompatibleMcpeProtocols()  : array<string|int, int>
getCompatibleOperatingSystems()  : array<string|int, string>
getDepend()  : array<string|int, string>
getDescription()  : string
getFullName()  : string
getLoadBefore()  : array<string|int, string>
getMain()  : string
getMap()  : array<string|int, mixed>
getName()  : string
getOrder()  : PluginEnableOrder
getPermissions()  : array<string|int, array<string|int, Permission>>
getPrefix()  : string
getRequiredExtensions()  : array<string|int, array<string|int, string>>
getSoftDepend()  : array<string|int, string>
getSrcNamespacePrefix()  : string
getVersion()  : string
getWebsite()  : string
loadMap()  : void

Properties

$commands

private array<string|int, mixed> $commands = []
Tags
phpstan-var

array<string, PluginDescriptionCommandEntry>

$compatibleMcpeProtocols

private array<string|int, mixed> $compatibleMcpeProtocols = []

$compatibleOperatingSystems

private array<string|int, mixed> $compatibleOperatingSystems = []

$extensions

private array<string|int, mixed> $extensions = []
Tags
phpstan-var

array<string, list>

$map

private array<string|int, mixed> $map
Tags
phpstan-var

array<string, mixed>

$permissions

private array<string|int, mixed> $permissions = []
Tags
phpstan-var

array<string, list<Permission>>

Methods

__construct()

public __construct(string|array<string|int, mixed> $yamlString) : mixed
Parameters
$yamlString : string|array<string|int, mixed>
Return values
mixed

getAuthors()

public getAuthors() : array<string|int, string>
Return values
array<string|int, string>

getCompatibleApis()

public getCompatibleApis() : array<string|int, string>
Return values
array<string|int, string>

getCompatibleMcpeProtocols()

public getCompatibleMcpeProtocols() : array<string|int, int>
Return values
array<string|int, int>

getCompatibleOperatingSystems()

public getCompatibleOperatingSystems() : array<string|int, string>
Return values
array<string|int, string>

getDepend()

public getDepend() : array<string|int, string>
Return values
array<string|int, string>

getLoadBefore()

public getLoadBefore() : array<string|int, string>
Return values
array<string|int, string>

getMap()

public getMap() : array<string|int, mixed>
Tags
phpstan-return

array<string, mixed>

Return values
array<string|int, mixed>

getPermissions()

public getPermissions() : array<string|int, array<string|int, Permission>>
Tags
phpstan-return

array<string, list<Permission>>

Return values
array<string|int, array<string|int, Permission>>

getRequiredExtensions()

public getRequiredExtensions() : array<string|int, array<string|int, string>>
Tags
phpstan-return

array<string, list>

Return values
array<string|int, array<string|int, string>>

getSoftDepend()

public getSoftDepend() : array<string|int, string>
Return values
array<string|int, string>

getSrcNamespacePrefix()

public getSrcNamespacePrefix() : string
Return values
string

Search results