diff options
Diffstat (limited to 'app/ServiceProvider/ClassProvider.php')
-rw-r--r-- | app/ServiceProvider/ClassProvider.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/ServiceProvider/ClassProvider.php b/app/ServiceProvider/ClassProvider.php index 630ab9f3..a5677948 100644 --- a/app/ServiceProvider/ClassProvider.php +++ b/app/ServiceProvider/ClassProvider.php @@ -2,6 +2,7 @@ namespace ServiceProvider; +use Core\ObjectStorage\FileStorage; use Core\Paginator; use Core\OAuth2; use Core\Tool; @@ -106,5 +107,9 @@ class ClassProvider implements ServiceProviderInterface $container['htmlConverter'] = function($c) { return new HtmlConverter(array('strip_tags' => true)); }; + + $container['objectStorage'] = function($c) { + return new FileStorage(FILES_DIR); + }; } } |