PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.6
Booking for Appointments and Events Calendar – Amelia v2.4.6
2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / src / Infrastructure / ContainerConfig / container.php
ameliabooking / src / Infrastructure / ContainerConfig Last commit date
application.services.php 2 months ago command.bus.php 2 years ago container.php 2 months ago domain.event.bus.php 1 year ago domain.services.php 1 year ago infrastructure.services.php 4 weeks ago infrastructure.user.php 1 year ago repositories.php 7 months ago request.php 4 weeks ago
container.php
59 lines
1 <?php
2
3 use AmeliaBooking\Infrastructure\Common\Container;
4 use AmeliaBooking\Infrastructure\Connection;
5
6 ##########################################################################
7 ##########################################################################
8 # App common
9 ##########################################################################
10 ##########################################################################
11 $entries['app.connection'] = function () {
12 global $wpdb;
13
14 return new Connection($wpdb);
15 };
16
17
18 ################
19 # Repositories #
20 ################
21 require 'repositories.php';
22
23 ############################
24 # Currently logged in user #
25 ############################
26 require 'infrastructure.user.php';
27
28 ###################
29 # Domain Services #
30 ###################
31 require 'domain.services.php';
32
33 ########################
34 # Application Services #
35 ########################
36 require 'application.services.php';
37
38 ########################
39 # Infrastructure Services #
40 ########################
41 require 'infrastructure.services.php';
42
43 ###############
44 # Command bus #
45 ###############
46 require 'command.bus.php';
47
48 ####################
49 # Domain event bus #
50 ####################
51 require 'domain.event.bus.php';
52
53 ######################
54 # Request overriding #
55 ######################
56 require 'request.php';
57
58 return new Container($entries);
59