46 lines
1.1 KiB
PHP
46 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* XePlugin.php
|
|
*
|
|
* PHP version 7
|
|
*
|
|
* @category Plugin
|
|
* @package Xpressengine\Plugin
|
|
* @author XE Developers <developers@xpressengine.com>
|
|
* @copyright 2020 Copyright XEHub Corp. <https://www.xehub.io>
|
|
* @license http://www.gnu.org/licenses/lgpl-3.0-standalone.html LGPL
|
|
* @link https://xpressengine.io
|
|
*/
|
|
|
|
namespace App\Facades;
|
|
|
|
use Illuminate\Support\Facades\Facade;
|
|
|
|
/**
|
|
* Class XePlugin
|
|
*
|
|
* @category Plugin
|
|
* @package Xpressengine\Plugin
|
|
* @author XE Developers <developers@xpressengine.com>
|
|
* @copyright 2020 Copyright XEHub Corp. <https://www.xehub.io>
|
|
* @license http://www.gnu.org/licenses/lgpl-3.0-standalone.html LGPL
|
|
* @link https://xpressengine.io
|
|
* @see Xpressengine\Plugin\PluginHandler
|
|
*/
|
|
class XePlugin extends Facade
|
|
{
|
|
const STATUS_ACTIVATED = 'activated';
|
|
const STATUS_DEACTIVATED = 'deactivated';
|
|
const STATUS_INSTALLED = 'installed';
|
|
|
|
/**
|
|
* Get the registered name of the component.
|
|
*
|
|
* @return string
|
|
*/
|
|
protected static function getFacadeAccessor()
|
|
{
|
|
return 'xe.plugin';
|
|
}
|
|
}
|