blob: ac06701ce9658cae62be70a3b1e0a98682c50f45 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
namespace Wallabag\CoreBundle\Controller;
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Wallabag\CoreBundle\Entity\Entries;
class ApiController extends Controller
{
/**
* @ApiDoc(
* resource=true,
* description="This is a demo method. Just remove it",
* )
*/
public function getEntryAction()
{
return new Entries('Blobby');
}
}
|