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