From 14dd13943c66a17e662022daccd60fbecc1e6e78 Mon Sep 17 00:00:00 2001 From: Davis Date: Mon, 12 Sep 2016 16:57:24 -0500 Subject: [PATCH] Create ExtensionWillBeDisabled --- .../core/src/Event/ExtensionWillBeDisabled | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 framework/core/src/Event/ExtensionWillBeDisabled 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; + } +}