From f38e03dc02c96344677fd2720912605b21c90b5d Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 7 Feb 2016 16:52:59 +0100 Subject: Comment work with annotator v2 - add missing annotator.js file and fix typo - edit & delete routes, started tests - basic tests --- .../DependencyInjection/Configuration.php | 20 +++++++++++++++++++ .../WallabagCommentExtension.php | 23 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 src/Wallabag/CommentBundle/DependencyInjection/Configuration.php create mode 100644 src/Wallabag/CommentBundle/DependencyInjection/WallabagCommentExtension.php (limited to 'src/Wallabag/CommentBundle/DependencyInjection') diff --git a/src/Wallabag/CommentBundle/DependencyInjection/Configuration.php b/src/Wallabag/CommentBundle/DependencyInjection/Configuration.php new file mode 100644 index 00000000..bc8d0615 --- /dev/null +++ b/src/Wallabag/CommentBundle/DependencyInjection/Configuration.php @@ -0,0 +1,20 @@ +root('wallabag_comment'); + + return $treeBuilder; + } +} diff --git a/src/Wallabag/CommentBundle/DependencyInjection/WallabagCommentExtension.php b/src/Wallabag/CommentBundle/DependencyInjection/WallabagCommentExtension.php new file mode 100644 index 00000000..b58a17a0 --- /dev/null +++ b/src/Wallabag/CommentBundle/DependencyInjection/WallabagCommentExtension.php @@ -0,0 +1,23 @@ +processConfiguration($configuration, $configs); + + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); + $loader->load('services.yml'); + } +} -- cgit v1.2.3