PluginProbe
Depicter — Popup & Slider Builder / 1.9.2
Depicter — Popup & Slider Builder v1.9.2
4.8.1 trunk 1.0.0 1.1.0 1.1.2 1.1.4 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.5 1.3.8 1.5.0 1.5.1 1.5.2 1.5.5 1.6.0 1.6.1 1.6.2 1.7.0 All 76 releases
← All changes | app/src/Services/ServiceProvider.php +13 -0 1.3.21.9.2 View file →
@@ -28,8 +28,12 @@
28 28
29 29 $container[ 'depicter.services.cache.document' ] = function () {
30 30 return new DatabaseCache('depicter_doc_id_');
31 31 };
32 + // persistent database cache module
33 + $container[ 'depicter.services.cache.database' ] = function () {
34 + return new DatabaseCache('depicter_d_');
35 + };
32 36
33 37 // register cache alias for retrieving a cache module
34 38 $app->alias( 'cache', function () use ( $app ) {
35 39 $module = !empty( func_get_args()['0'] ) ? strtolower( func_get_args()['0'] ) : 'api';
@@ -75,8 +79,17 @@
75 79 return new AuthorizationService();
76 80 };
77 81 $app->alias( 'authorization', 'depicter.security.authorization' );
78 82
83 + $container[ 'depicter.security.authentication' ] = function () {
84 + return new AuthenticationService();
85 + };
86 + $app->alias( 'auth', 'depicter.security.authentication' );
87 +
88 + $container[ 'depicter.ai.wizard.service' ] = function () {
89 + return new AIWizardService();
90 + };
91 + $app->alias( 'AIWizard', 'depicter.ai.wizard.service' );
79 92 }
80 93
81 94 /**
82 95 * {@inheritDoc}