31 lines
640 B
PHP
Raw Normal View History

2016-07-12 00:33:55 +02:00
<?php
/*
2016-12-29 12:09:26 +01:00
* This file is part of the NelmioApiDocBundle package.
2016-07-12 00:33:55 +02:00
*
2016-12-29 12:09:26 +01:00
* (c) Nelmio
2016-07-12 00:33:55 +02:00
*
* 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;
2016-07-12 00:33:55 +02:00
2019-11-19 18:24:58 +01:00
use Symfony\Component\Routing\Annotation\Route;
2016-07-12 00:33:55 +02:00
if (\PHP_VERSION_ID >= 80100) {
2017-06-24 17:49:00 +02:00
/**
* @Route("/api", name="api_", host="api.example.com")
2017-06-24 17:49:00 +02:00
*/
class ApiController extends ApiController81
2017-06-24 17:49:00 +02:00
{
}
} else {
/**
* @Route("/api", name="api_", host="api.example.com")
*/
class ApiController extends ApiController80
{
}
2016-07-12 00:33:55 +02:00
}