2018-05-05 14:49:17 +02:00
|
|
|
<?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 Hateoas\Configuration\Annotation as Hateoas;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* User.
|
|
|
|
*
|
|
|
|
* @Hateoas\Relation(name="example", attributes={"str_att":"bar", "float_att":5.6, "bool_att": false}, href="http://www.example.com")
|
|
|
|
* @Hateoas\Relation(name="route", href=@Hateoas\Route("foo"))
|
2019-01-11 10:40:53 +01:00
|
|
|
* @Hateoas\Relation(name="route", attributes={"foo":"bar"}, embedded=@Hateoas\Embedded("expr(service('xx'))"))
|
2018-05-05 14:49:17 +02:00
|
|
|
*/
|
|
|
|
class BazingaUser
|
|
|
|
{
|
|
|
|
}
|