diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-11-01 22:18:43 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-11-01 22:18:43 -0400 |
commit | ae5d31e4c285e0ce672de780fdacff953fe71bba (patch) | |
tree | 5a0f3995633da429417cdc0cfbad920c3e9b4bc9 /app/ServiceProvider | |
parent | a3ffb3b40e5459a4e671739e8265cc26d7f6b84b (diff) |
Add ExternalTaskManager class
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r-- | app/ServiceProvider/ExternalTaskProvider.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/ServiceProvider/ExternalTaskProvider.php b/app/ServiceProvider/ExternalTaskProvider.php new file mode 100644 index 00000000..52484ae6 --- /dev/null +++ b/app/ServiceProvider/ExternalTaskProvider.php @@ -0,0 +1,29 @@ +<?php + +namespace Kanboard\ServiceProvider; + +use Kanboard\Core\ExternalTask\ExternalTaskManager; +use Pimple\Container; +use Pimple\ServiceProviderInterface; + +/** + * Class ExternalTaskProvider + * + * @package Kanboard\ServiceProvider + * @author Frederic Guillot + */ +class ExternalTaskProvider implements ServiceProviderInterface +{ + /** + * Register providers + * + * @access public + * @param \Pimple\Container $container + * @return \Pimple\Container + */ + public function register(Container $container) + { + $container['externalTaskManager'] = new ExternalTaskManager(); + return $container; + } +} |