Guilhem Niot 2862d8cf6f fixes
2022-09-25 21:47:11 +02:00

23 lines
588 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);
}