1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 02:36:08 +02:00

Move events to Flarum\Extension\Event namespace

This commit is contained in:
Franz Liedke
2017-06-24 13:31:13 +02:00
parent 6cd6a7d260
commit 9abc63aaac
10 changed files with 60 additions and 60 deletions

View File

@@ -1,30 +0,0 @@
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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 ExtensionWasDisabled
{
/**
* @var Extension
*/
public $extension;
/**
* @param Extension $extension
*/
public function __construct(Extension $extension)
{
$this->extension = $extension;
}
}

View File

@@ -1,30 +0,0 @@
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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 ExtensionWasEnabled
{
/**
* @var Extension
*/
public $extension;
/**
* @param Extension $extension
*/
public function __construct(Extension $extension)
{
$this->extension = $extension;
}
}

View File

@@ -1,30 +0,0 @@
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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 ExtensionWasUninstalled
{
/**
* @var Extension
*/
public $extension;
/**
* @param Extension $extension
*/
public function __construct(Extension $extension)
{
$this->extension = $extension;
}
}

View File

@@ -1,30 +0,0 @@
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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 Extension
*/
public $extension;
/**
* @param Extension $extension
*/
public function __construct(Extension $extension)
{
$this->extension = $extension;
}
}

View File

@@ -1,30 +0,0 @@
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* 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 Extension
*/
public $extension;
/**
* @param Extension $extension
*/
public function __construct(Extension $extension)
{
$this->extension = $extension;
}
}