26220f73ee
Inject WP Functions to newsletters API endpoint using DI container
2019-01-02 11:02:08 +01:00
da27680224
Merge pull request #1695 from mailpoet/di-hacking-refactor
...
Hacking day - DI Refactor [MAILPOET-1689]
2018-12-20 11:13:05 -05:00
acc4c89255
Add ability to additionally initialize mailpoet-premium container
...
[MAILPOET-1696]
2018-12-19 12:37:27 +01:00
f13c340d87
Inject dependencies to hooks directly
...
[MAILPOET-1689]
2018-12-17 15:29:50 +01:00
66a05e1b19
Inject Listing Handler and Segments Subscriber Listing using DI
...
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
fd4bcee5f5
Inject bulk action controller using DI
...
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
ece5e9a9d1
Refactor subscription form processing
...
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
fc61377fd8
Move container dump from application code to Robofile and to generated dir
...
[PREMIUM-99]
2018-12-12 08:53:28 +01:00
c73741e727
Add ability to register premium service as a dependency of free plugin
...
[PREMIUM-99]
2018-12-12 08:53:28 +01:00
26472d8b9a
Introduce ContainerWrapper
...
Container wrapper wraps both premium and free containers and adds ability for free plugin to use premium plugin services directly.
[PREMIUM-99]
2018-12-12 08:52:11 +01:00
884cabb51f
Introduce Container Configurator
...
Container factory is now responsible only for building or loading cached container. Container configuration is done within the ContainerConfigurator
[PREMIUM-99]
2018-12-12 08:52:11 +01:00
bf7e6a601e
Move prefixed dependencies from lib/Dependencies to vendor-prefixed
...
[MAILPOET-1642]
2018-11-20 14:11:33 +01:00
38e9d806b8
Refactor ALC endpoint to follow DI
...
[MAILPOET-1637]
2018-11-15 09:04:46 +01:00
e0863e4b7e
Reorder services in container factory by namespace
...
[MAILPOET-1637]
2018-11-15 09:04:27 +01:00
d49b2a72a9
Refactor JSON API to use container for creating endpoints
...
[MAILPOET-1637]
2018-11-15 09:04:15 +01:00
a42787d10d
Refactor MP v1 API to obtain services via constructor
...
[MAILPOET-1637]
2018-11-15 09:03:43 +01:00
b6e0b7ceb0
Make all services registered in DI public
...
In ideal application one needs only on public service some bootstrap and that is why all services are private as default. Our code is not ideal yet so we have to declare services as public.
[MAILPOET-1621]
2018-11-08 16:13:40 +01:00
f39c0c58c2
Add dumpContainer to container factory
...
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00
ad77fa547a
Remove services.yaml and define services directly in PHP
...
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00
fff8176a49
Refactor lib/Router to use with container for endpoints
...
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00
71ad9f50cb
Add container factory and initialize container in Initializer
...
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00