PluginProbe ʕ •ᴥ•ʔ
Kirki – Freeform Page Builder, Website Builder & Customizer / 6.0.13
Kirki – Freeform Page Builder, Website Builder & Customizer v6.0.13
6.1.1 6.1.0 6.0.14 6.0.13 6.0.12 6.0.11 6.0.10 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 4.0.19 4.0.20 4.0.21 4.0.22 4.0.23 4.0.24 4.1 4.2.0 5.0.0 5.1.0 5.1.1 5.2.0 5.2.1 5.2.2 5.2.3 6.0.0 trunk 3.0.40 3.0.41 3.0.42 3.0.43 3.0.44 3.0.45 3.1.0 3.1.1 3.1.2
kirki / libraries / framework / ServiceProvider.php
kirki / libraries / framework Last commit date
Collections 3 weeks ago Concerns 3 weeks ago Console 3 weeks ago Constants 3 weeks ago Contracts 3 weeks ago Database 3 weeks ago Discovery 3 weeks ago Exceptions 3 weeks ago Filesystem 3 weeks ago Http 3 weeks ago Managers 3 weeks ago Middlewares 3 weeks ago Polyfill 3 weeks ago Supports 3 weeks ago Validation 3 weeks ago Wordpress 3 weeks ago ApiExceptionHandler.php 3 weeks ago Application.php 3 weeks ago Container.php 3 weeks ago CoreServiceProvider.php 3 weeks ago DTO.php 3 weeks ago Facade.php 3 weeks ago Listener.php 3 weeks ago Resource.php 3 weeks ago Route.php 3 weeks ago Sanitizer.php 3 weeks ago ServiceProvider.php 3 weeks ago helpers.php 3 weeks ago
ServiceProvider.php
57 lines
1 <?php
2
3 /**
4 * Abstract base for application service providers with register and boot lifecycle hooks.
5 * Receives the Application instance and binds services in register while wiring hooks in boot.
6 * Pattern for modular plugin feature registration.
7 *
8 * @package Framework
9 * @since 1.0.0
10 */
11 namespace Kirki\Framework;
12
13 \defined('ABSPATH') || exit;
14 abstract class ServiceProvider
15 {
16 /**
17 * The app.
18 *
19 * @var Application
20 *
21 * @since 1.0.0
22 */
23 protected $app;
24 /**
25 * Create a new service provider constructor
26 *
27 * @param Application $app The app.
28 *
29 * @return void
30 *
31 * @since 1.0.0
32 */
33 public function __construct(Application $app)
34 {
35 $this->app = $app;
36 }
37 /**
38 * Register the service provider.
39 *
40 * @return void
41 *
42 * @since 1.0.0
43 */
44 public abstract function register();
45 /**
46 * Boot the service provider.
47 *
48 * @return void
49 *
50 * @since 1.0.0
51 */
52 public function boot()
53 {
54 //
55 }
56 }
57