43 lines
763 B
PHP
Executable File
43 lines
763 B
PHP
Executable File
<?php namespace Romanah\Bagisto;
|
|
|
|
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()
|
|
{
|
|
return [
|
|
'Romanah\Bagisto\Components\Session' => 'session',
|
|
'Romanah\Bagisto\Components\Seller' => 'seller'
|
|
];
|
|
}
|
|
|
|
/**
|
|
* registerSettings used by the backend.
|
|
*/
|
|
public function registerSettings()
|
|
{
|
|
|
|
}
|
|
}
|