2016-07-29 10:22:40 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
2016-12-29 12:09:26 +01:00
|
|
|
* This file is part of the NelmioApiDocBundle package.
|
2016-07-29 10:22:40 +02:00
|
|
|
*
|
2016-12-29 12:09:26 +01:00
|
|
|
* (c) Nelmio
|
2016-07-29 10:22:40 +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\Entity;
|
2016-07-29 10:22:40 +02:00
|
|
|
|
|
|
|
use ApiPlatform\Core\Annotation\ApiProperty;
|
|
|
|
|
2022-09-25 21:32:09 +02:00
|
|
|
if (!class_exists(ApiProperty::class)) {
|
|
|
|
class_alias(Dummy81::class, Dummy::class);
|
|
|
|
} else {
|
|
|
|
class_alias(Dummy71::class, Dummy::class);
|
|
|
|
}
|