|
Server : LiteSpeed System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64 User : gazetufm ( 1431) PHP Version : 8.1.35 Disable Function : NONE Directory : /home2/gazetufm/leonora.al/wp-content/plugins/kirki/libraries/framework/ | |
|
Path: //home2/gazetufm/leonora.al/wp-content/plugins/kirki/libraries/framework/ServiceProvider.php
Size: 1.03 KB
Permissions: 0644
<?php
/**
* Abstract base for application service providers with register and boot lifecycle hooks.
* Receives the Application instance and binds services in register while wiring hooks in boot.
* Pattern for modular plugin feature registration.
*
* @package Framework
* @since 1.0.0
*/
namespace Kirki\Framework;
\defined('ABSPATH') || exit;
abstract class ServiceProvider
{
/**
* The app.
*
* @var Application
*
* @since 1.0.0
*/
protected $app;
/**
* Create a new service provider constructor
*
* @param Application $app The app.
*
* @return void
*
* @since 1.0.0
*/
public function __construct(Application $app)
{
$this->app = $app;
}
/**
* Register the service provider.
*
* @return void
*
* @since 1.0.0
*/
public abstract function register();
/**
* Boot the service provider.
*
* @return void
*
* @since 1.0.0
*/
public function boot()
{
//
}
}