class MissingDependenciesException extends Exception

This exception is thrown when someone attempts to enable an extension whose Flarum extension dependencies are not all enabled.

Properties

$extension
$missing_dependencies

Methods

__construct(Extension $extension, array $missing_dependencies = null)

No description

array
getMissingDependencyIds()

<p>Get array of IDs for missing (disabled) extensions that this extension depends on.</p>

Details

__construct(Extension $extension, array $missing_dependencies = null)

Parameters

Extension $extension
array $missing_dependencies

array getMissingDependencyIds()

<p>Get array of IDs for missing (disabled) extensions that this extension depends on.</p>

Return Value

array