PluginProbe
ZIP AI – AI Website Builder & AI Agent / 0.0.12
ZIP AI – AI Website Builder & AI Agent v0.0.12
0.0.13 0.0.12 0.0.11 0.0.10 0.0.9 trunk 0.0.4 0.0.5 0.0.6 0.0.7 0.0.8
zip-ai / inc / core / service-provider.php

service-provider.php in ZIP AI – AI Website Builder & AI Agent 0.0.12, at inc/core/service-provider.php

52 lines 710 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Service Provider Interface.
4 *
5 * @package zip-ai
6 */
7
8 namespace ZipAI\MCP\Classes\Core;
9
10 // Exit if accessed directly.
11 if ( ! defined( 'ABSPATH' ) ) {
12 exit;
13 }
14
15 /**
16 * Service Provider Class.
17 */
18 abstract class Service_Provider {
19
20 /**
21 * The container instance.
22 *
23 * @var Container
24 */
25 protected $container;
26
27 /**
28 * Constructor.
29 *
30 * @param Container $container The container instance.
31 */
32 public function __construct( Container $container ) {
33 $this->container = $container;
34 }
35
36 /**
37 * Register services.
38 *
39 * @return void
40 */
41 abstract public function register();
42
43 /**
44 * Boot services.
45 *
46 * @return void
47 */
48 public function boot() {
49 // Optional boot method.
50 }
51 }
52