class Extension implements Arrayable
Constants
LOGO_MIMETYPES |
|
Properties
Methods
<p>Get the list of flarum extensions that this extension depends on.</p>
<p>The IDs of all Flarum extensions that this extension depends on.</p>
<p>The IDs of all Flarum extensions that this extension should be booted after if enabled.</p>
Details
at
line 110
__construct($path, array $composerJson)
at
line 117
static protected
nameToId($name)
at
line 128
protected
assignId()
<p>Assigns the id for the extension used globally.</p>
at
line 136
extend(Container $container)
at
line 150
__get($name)
<p>{@inheritdoc}</p>
at
line 158
__isset($name)
<p>{@inheritdoc}</p>
at
line 171
mixed
composerJsonAttribute($name)
<p>Dot notation getter for composer.json attributes.</p>
at
line 192
bool
isInstalled()
at
line 221
calculateDependencies($extensionSet, $enabledIds)
<p>Get the list of flarum extensions that this extension depends on.</p>
at
line 246
string
getVersion()
at
line 256
array|null
getIcon()
<p>Loads the icon information from the composer.json.</p>
at
line 282
string
getIconStyles()
at
line 306
enable(Container $container)
at
line 316
disable(Container $container)
at
line 328
string
getId()
<p>The raw path of the directory under extensions.</p>
at
line 336
string
getTitle()
at
line 344
string
getPath()
at
line 354
array
getExtensionDependencyIds()
<p>The IDs of all Flarum extensions that this extension depends on.</p>
at
line 365
array
getOptionalDependencyIds()
<p>The IDs of all Flarum extensions that this extension should be booted after if enabled.</p>
at
line 414
getLinks()
<p>Compile a list of links for this extension.</p>
at
line 459
bool
hasAssets()
<p>Tests whether the extension has assets.</p>
at
line 467
copyAssetsTo(Filesystem $target)
at
line 488
bool
hasMigrations()
<p>Tests whether the extension has migrations.</p>
at
line 514
array
toArray()
<p>Generates an array result for the object.</p>