2023-06-18 12:28:15 +00:00
|
|
|
<?php namespace Romanah\Bagisto;
|
2023-06-17 20:52:33 +00:00
|
|
|
|
|
|
|
|
use System\Classes\PluginBase;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Plugin class
|
|
|
|
|
*/
|
|
|
|
|
class Plugin extends PluginBase
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* register method, called when the plugin is first registered.
|
|
|
|
|
*/
|
|
|
|
|
public function register()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* boot method, called right before the request route.
|
|
|
|
|
*/
|
|
|
|
|
public function boot()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* registerComponents used by the frontend.
|
|
|
|
|
*/
|
|
|
|
|
public function registerComponents()
|
|
|
|
|
{
|
2023-06-18 14:26:27 +00:00
|
|
|
return [
|
2023-06-19 22:21:23 +00:00
|
|
|
'Romanah\Bagisto\Components\Session' => 'session'
|
2023-06-18 14:26:27 +00:00
|
|
|
];
|
2023-06-17 20:52:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* registerSettings used by the backend.
|
|
|
|
|
*/
|
|
|
|
|
public function registerSettings()
|
|
|
|
|
{
|
2023-06-18 12:28:15 +00:00
|
|
|
|
2023-06-17 20:52:33 +00:00
|
|
|
}
|
|
|
|
|
}
|