diff --git a/framework/core/src/Event/ExtensionWillBeDisabled b/framework/core/src/Event/ExtensionWillBeDisabled new file mode 100644 index 000000000..595374266 --- /dev/null +++ b/framework/core/src/Event/ExtensionWillBeDisabled @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Event; + +use Flarum\Extension\Extension; + +class ExtensionWillBeDisabled +{ + /** + * @var string + */ + protected $extension; + /** + * @param Extension $extension + */ + public function __construct(Extension $extension) + { + $this->extension = $extension; + } +}