\Expand\AddonAddon

Summary

Methods
Properties
Constants
__construct()
getName()
getIdent()
getDescription()
getVersion()
getAuthor()
getProviders()
getHome()
getInfo()
getPath()
getCachedServicesPath()
isStatus()
isEnabled()
get()
toArray()
No public properties found
No constants found
No protected methods found
$activator
N/A
No private methods found
No private properties found
N/A

Properties

Methods

__construct()

__construct(\Illuminate\Container\Container  $app, \Expand\Addon\string  $ident) 

Parameters

\Illuminate\Container\Container $app
\Expand\Addon\string $ident

getName()

getName() 

getIdent()

getIdent() 

getDescription()

getDescription() 

getVersion()

getVersion() 

getAuthor()

getAuthor() 

getProviders()

getProviders() 

getHome()

getHome() 

getInfo()

getInfo(\Expand\Addon\string  $key,   $default = null) 

Parameters

\Expand\Addon\string $key
$default

getPath()

getPath() 

getCachedServicesPath()

getCachedServicesPath() 

{@inheritdoc}

isStatus()

isStatus(boolean  $status) : boolean

Determine whether the given status same with the current module status.

Parameters

boolean $status

Returns

boolean

isEnabled()

isEnabled() : boolean

Determine whether the current module activated.

Returns

boolean

get()

get(string  $key, null  $default = null) : mixed

Get a specific data from json file by given the key.

Parameters

string $key
null $default

Returns

mixed

toArray()

toArray() : array

插件数据转数组

Returns

array