mirror of
https://github.com/wallabag/wallabag.git
synced 2024-05-11 22:02:39 +00:00
22 lines
447 B
PHP
22 lines
447 B
PHP
<?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');
|
|
}
|
|
}
|