PluginProbe
The Innovative Form Builder – IvyForms / 1.5.1
The Innovative Form Builder – IvyForms v1.5.1
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
← All changes | backend/src/Config/repository.php +27 -0 0.9 → 1.5.1 View file →
@@ -15,12 +15,21 @@
15 15 use IvyForms\Repository\Confirmation\ConfirmationRepository;
16 16 use IvyForms\Repository\Confirmation\ConfirmationRepositoryInterface;
17 17 use IvyForms\Repository\Entry\EntryRepository;
18 18 use IvyForms\Repository\Entry\EntryRepositoryInterface;
19 +use IvyForms\Repository\EntryField\EntryFieldNameEmailRepository;
20 +use IvyForms\Repository\EntryField\EntryFieldNameEmailRepositoryInterface;
19 21 use IvyForms\Repository\EntryField\EntryFieldRepository;
20 22 use IvyForms\Repository\EntryField\EntryFieldRepositoryInterface;
23 +use IvyForms\Repository\GoogleSheets\GoogleSheetsRepository;
24 +use IvyForms\Repository\GoogleSheets\GoogleSheetsRepositoryInterface;
25 +use IvyForms\Repository\Payment\OrderRepository;
26 +use IvyForms\Repository\Payment\OrderRepositoryInterface;
27 +use IvyForms\Repository\Payment\PaymentRepository;
28 +use IvyForms\Repository\Payment\PaymentRepositoryInterface;
21 29
22 30 use IvyForms\Services\InstallActions\DB\FieldOptions\FieldOptionsTable;
31 +use IvyForms\Services\InstallActions\DB\GoogleSheets\GoogleSheetsTable;
23 32 use IvyForms\Services\InstallActions\DB\Form\FormsTable;
24 33 use IvyForms\Services\InstallActions\DB\Field\FieldsTable;
25 34 use IvyForms\Services\InstallActions\DB\Notification\NotificationsTable;
26 35 use IvyForms\Services\InstallActions\DB\Confirmation\ConfirmationsTable;
@@ -25,8 +34,10 @@
25 34 use IvyForms\Services\InstallActions\DB\Notification\NotificationsTable;
26 35 use IvyForms\Services\InstallActions\DB\Confirmation\ConfirmationsTable;
27 36 use IvyForms\Services\InstallActions\DB\Entry\EntriesTable;
28 37 use IvyForms\Services\InstallActions\DB\EntryField\EntryFieldsTable;
38 +use IvyForms\Services\InstallActions\DB\Payment\OrdersTable;
39 +use IvyForms\Services\InstallActions\DB\Payment\PaymentsTable;
29 40
30 41 return [
31 42
32 43 FormRepositoryInterface::class => function () {
@@ -52,8 +63,24 @@
52 63 EntryFieldRepositoryInterface::class => function () {
53 64 return new EntryFieldRepository(EntryFieldsTable::getTableName());
54 65 },
55 66
67 + EntryFieldNameEmailRepositoryInterface::class => function () {
68 + return new EntryFieldNameEmailRepository(EntryFieldsTable::getTableName());
69 + },
70 +
56 71 FieldOptionsRepositoryInterface::class => function () {
57 72 return new FieldOptionsRepository(FieldOptionsTable::getTableName());
73 + },
74 +
75 + GoogleSheetsRepositoryInterface::class => function () {
76 + return new GoogleSheetsRepository(GoogleSheetsTable::getTableName());
77 + },
78 +
79 + PaymentRepositoryInterface::class => function () {
80 + return new PaymentRepository(PaymentsTable::getTableName());
81 + },
82 +
83 + OrderRepositoryInterface::class => function () {
84 + return new OrderRepository(OrdersTable::getTableName());
58 85 },
59 86 ];