mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-11 03:59:24 +03:00
23 lines
588 B
PHP
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);
|
|
}
|