From 430bfc63c95873223f32c6a94fc3c12898cbe1ee Mon Sep 17 00:00:00 2001 From: Davis Date: Mon, 12 Sep 2016 17:07:00 -0500 Subject: [PATCH] Create ExtensionWillBeEnabled.php --- .../core/src/Event/ExtensionWillBeEnabled.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 framework/core/src/Event/ExtensionWillBeEnabled.php diff --git a/framework/core/src/Event/ExtensionWillBeEnabled.php b/framework/core/src/Event/ExtensionWillBeEnabled.php new file mode 100644 index 000000000..e17ceb92b --- /dev/null +++ b/framework/core/src/Event/ExtensionWillBeEnabled.php @@ -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 ExtensionWillBeEnabled +{ + /** + * @var string + */ + protected $extension; + /** + * @param Extension $extension + */ + public function __construct(Extension $extension) + { + $this->extension = $extension; + } +}