mirror of
https://github.com/flarum/framework.git
synced 2025-03-09 19:55:26 +08:00
21 lines
465 B
PHP
21 lines
465 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Flarum.
|
|
*
|
|
* For detailed copyright and license information, please view the
|
|
* LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Flarum\Extend;
|
|
|
|
use Flarum\Extension\Extension;
|
|
use Illuminate\Contracts\Container\Container;
|
|
|
|
interface LifecycleInterface
|
|
{
|
|
public function onEnable(Container $container, Extension $extension);
|
|
|
|
public function onDisable(Container $container, Extension $extension);
|
|
}
|