diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-28 18:14:04 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-28 18:14:04 +0100 |
commit | 3e5a342f6552fc921b9b7fd3d65d9200cdc1979c (patch) | |
tree | 2ea4c3a9459923a40fbc9c66dbfae9a8b6a9e94c /src/Wallabag/CoreBundle | |
parent | e4788de51ecbf2773a043325965e10eb74b14e8f (diff) | |
download | wallabag-3e5a342f6552fc921b9b7fd3d65d9200cdc1979c.tar.gz wallabag-3e5a342f6552fc921b9b7fd3d65d9200cdc1979c.tar.zst wallabag-3e5a342f6552fc921b9b7fd3d65d9200cdc1979c.zip |
bundle for API
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/ApiController.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ApiController.php b/src/Wallabag/CoreBundle/Controller/ApiController.php deleted file mode 100644 index ac06701c..00000000 --- a/src/Wallabag/CoreBundle/Controller/ApiController.php +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Controller; | ||
4 | |||
5 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; | ||
6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; | ||
7 | use Wallabag\CoreBundle\Entity\Entries; | ||
8 | |||
9 | class ApiController extends Controller | ||
10 | { | ||
11 | /** | ||
12 | * @ApiDoc( | ||
13 | * resource=true, | ||
14 | * description="This is a demo method. Just remove it", | ||
15 | * ) | ||
16 | */ | ||
17 | public function getEntryAction() | ||
18 | { | ||
19 | return new Entries('Blobby'); | ||
20 | } | ||
21 | } | ||