Guilhem Niot a011ff8f86 CS
2022-09-25 21:48:03 +02:00

25 lines
597 B
PHP

<?php
/*
* This file is part of the NelmioApiDocBundle package.
*
* (c) Nelmio
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nelmio\ApiDocBundle\Tests\Functional\Entity;
use ApiPlatform\Core\Annotation\ApiProperty;
use Nelmio\ApiDocBundle\Tests\Functional\EntityExcluded;
// BC Api-Platform < 3.x
if (!class_exists(ApiProperty::class)) {
class Dummy extends EntityExcluded\ApiPlatform3\Dummy
{
}
} else {
class_alias(EntityExcluded\ApiPlatform2\Dummy::class, Dummy::class);
}