NelmioApiDocBundle/Tests/Functional/Controller/UndocumentedController.php

30 lines
602 B
PHP
Raw Normal View History

<?php
/*
2016-12-29 12:09:26 +01:00
* This file is part of the NelmioApiDocBundle package.
*
2016-12-29 12:09:26 +01:00
* (c) Nelmio
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
2016-12-29 12:09:26 +01:00
namespace Nelmio\ApiDocBundle\Tests\Functional\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
2018-03-13 12:40:36 -03:00
/**
* @Route(host="api.example.com")
*/
class UndocumentedController
{
/**
* This path is excluded by the config (only /api allowed).
*
* @Route("/undocumented", methods={"GET"})
*/
public function undocumentedAction()
{
}
}