coupon-admin/vendor/zircote/swagger-php/tests/Fixtures/Parser/User.php

27 lines
496 B
PHP
Raw Normal View History

2021-11-18 09:57:04 +00:00
<?php declare(strict_types=1);
namespace OpenApi\Tests\Fixtures\Parser;
use OpenApi\Tests\Fixtures\Parser\HelloTrait as Hello;
use OpenApi\Tests\Fixtures\Parser\Sub\SubClass as ParentClass;
/**
* @OA\Schema(
* example=User::CONSTANT,
* )
*/
class User extends ParentClass implements \OpenApi\Tests\Fixtures\Parser\UserInterface
{
use Hello;
const CONSTANT = 'value';
/**
* {@inheritDoc}
*/
public function getFirstName()
{
return 'Joe';
}
}