2016-07-12 00:33:55 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
2016-12-29 12:09:26 +01:00
|
|
|
* This file is part of the NelmioApiDocBundle package.
|
2016-07-12 00:33:55 +02:00
|
|
|
*
|
2016-12-29 12:09:26 +01:00
|
|
|
* (c) Nelmio
|
2016-07-12 00:33:55 +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;
|
2016-07-12 00:33:55 +02:00
|
|
|
|
2017-05-31 18:35:02 +02:00
|
|
|
use EXSyst\Component\Swagger\Tag;
|
2020-05-30 18:08:25 +02:00
|
|
|
use Symfony\Component\Serializer\Annotation\SerializedName;
|
2016-07-12 00:33:55 +02:00
|
|
|
|
|
|
|
class FunctionalTest extends WebTestCase
|
|
|
|
{
|
2019-12-19 15:41:14 +01:00
|
|
|
protected function setUp()
|
|
|
|
{
|
|
|
|
parent::setUp();
|
|
|
|
|
|
|
|
static::createClient([], ['HTTP_HOST' => 'api.example.com']);
|
|
|
|
}
|
|
|
|
|
2017-01-25 18:53:19 +01:00
|
|
|
public function testConfiguredDocumentation()
|
|
|
|
{
|
2018-10-06 14:42:47 +02:00
|
|
|
$this->assertEquals('My Default App', $this->getSwaggerDefinition()->getInfo()->getTitle());
|
|
|
|
$this->assertEquals('My Test App', $this->getSwaggerDefinition('test')->getInfo()->getTitle());
|
2017-01-25 18:53:19 +01:00
|
|
|
}
|
|
|
|
|
2016-11-30 14:08:10 +01:00
|
|
|
public function testUndocumentedAction()
|
|
|
|
{
|
|
|
|
$paths = $this->getSwaggerDefinition()->getPaths();
|
|
|
|
$this->assertFalse($paths->has('/undocumented'));
|
|
|
|
$this->assertFalse($paths->has('/api/admin'));
|
|
|
|
}
|
|
|
|
|
2017-06-13 13:34:26 +02:00
|
|
|
public function testFetchArticleAction()
|
|
|
|
{
|
|
|
|
$operation = $this->getOperation('/api/article/{id}', 'get');
|
|
|
|
|
|
|
|
$responses = $operation->getResponses();
|
|
|
|
$this->assertTrue($responses->has('200'));
|
|
|
|
$this->assertEquals('#/definitions/Article', $responses->get('200')->getSchema()->getRef());
|
|
|
|
|
|
|
|
// Ensure that groups are supported
|
|
|
|
$modelProperties = $this->getModel('Article')->getProperties();
|
|
|
|
$this->assertCount(1, $modelProperties);
|
|
|
|
$this->assertTrue($modelProperties->has('author'));
|
2018-08-30 01:10:36 +02:00
|
|
|
$this->assertSame('#/definitions/User2', $modelProperties->get('author')->getRef());
|
|
|
|
|
2017-06-13 13:34:26 +02:00
|
|
|
$this->assertFalse($modelProperties->has('content'));
|
|
|
|
}
|
|
|
|
|
2017-03-16 19:35:04 +01:00
|
|
|
public function testFilteredAction()
|
|
|
|
{
|
|
|
|
$paths = $this->getSwaggerDefinition()->getPaths();
|
|
|
|
|
|
|
|
$this->assertFalse($paths->has('/filtered'));
|
|
|
|
}
|
|
|
|
|
2016-12-30 13:37:02 +01:00
|
|
|
/**
|
|
|
|
* Tests that the paths are automatically resolved in Swagger annotations.
|
|
|
|
*
|
|
|
|
* @dataProvider swaggerActionPathsProvider
|
|
|
|
*/
|
|
|
|
public function testSwaggerAction($path)
|
|
|
|
{
|
|
|
|
$operation = $this->getOperation($path, 'get');
|
|
|
|
|
|
|
|
$responses = $operation->getResponses();
|
|
|
|
$this->assertTrue($responses->has('201'));
|
|
|
|
$this->assertEquals('An example resource', $responses->get('201')->getDescription());
|
|
|
|
}
|
|
|
|
|
|
|
|
public function swaggerActionPathsProvider()
|
|
|
|
{
|
|
|
|
return [['/api/swagger'], ['/api/swagger2']];
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @dataProvider implicitSwaggerActionMethodsProvider
|
|
|
|
*/
|
|
|
|
public function testImplicitSwaggerAction($method)
|
|
|
|
{
|
|
|
|
$operation = $this->getOperation('/api/swagger/implicit', $method);
|
|
|
|
|
2017-12-22 17:42:18 +00:00
|
|
|
$this->assertEquals([new Tag('implicit')], $operation->getTags());
|
2017-03-17 19:45:46 +01:00
|
|
|
|
2016-12-30 13:37:02 +01:00
|
|
|
$responses = $operation->getResponses();
|
|
|
|
$this->assertTrue($responses->has('201'));
|
2017-01-14 17:36:56 +01:00
|
|
|
$response = $responses->get('201');
|
|
|
|
$this->assertEquals('Operation automatically detected', $response->getDescription());
|
|
|
|
$this->assertEquals('#/definitions/User', $response->getSchema()->getRef());
|
2016-12-30 13:37:02 +01:00
|
|
|
|
|
|
|
$parameters = $operation->getParameters();
|
2017-01-14 17:36:56 +01:00
|
|
|
$this->assertTrue($parameters->has('foo', 'body'));
|
|
|
|
$parameter = $parameters->get('foo', 'body');
|
|
|
|
|
|
|
|
$this->assertEquals('This is a parameter', $parameter->getDescription());
|
|
|
|
$this->assertEquals('#/definitions/User', $parameter->getSchema()->getItems()->getRef());
|
2016-12-30 13:37:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public function implicitSwaggerActionMethodsProvider()
|
|
|
|
{
|
|
|
|
return [['get'], ['post']];
|
|
|
|
}
|
|
|
|
|
2016-07-13 23:05:14 +02:00
|
|
|
public function testUserAction()
|
2016-07-12 00:33:55 +02:00
|
|
|
{
|
2016-11-30 14:08:10 +01:00
|
|
|
$operation = $this->getOperation('/api/test/{user}', 'get');
|
2016-07-12 00:33:55 +02:00
|
|
|
|
2016-07-29 18:40:56 +02:00
|
|
|
$this->assertEquals(['https'], $operation->getSchemes());
|
2016-07-13 23:05:14 +02:00
|
|
|
$this->assertEmpty($operation->getSummary());
|
|
|
|
$this->assertEmpty($operation->getDescription());
|
2016-08-01 19:58:57 +02:00
|
|
|
$this->assertNull($operation->getDeprecated());
|
2017-06-02 21:30:31 +02:00
|
|
|
$this->assertTrue($operation->getResponses()->has(200));
|
2016-07-12 00:33:55 +02:00
|
|
|
|
|
|
|
$parameters = $operation->getParameters();
|
2016-07-29 18:40:56 +02:00
|
|
|
$this->assertTrue($parameters->has('user', 'path'));
|
2016-07-12 00:33:55 +02:00
|
|
|
|
2016-07-29 18:40:56 +02:00
|
|
|
$parameter = $parameters->get('user', 'path');
|
2016-07-12 00:33:55 +02:00
|
|
|
$this->assertTrue($parameter->getRequired());
|
|
|
|
$this->assertEquals('string', $parameter->getType());
|
2017-09-24 00:57:06 +02:00
|
|
|
$this->assertEquals('/foo/', $parameter->getPattern());
|
|
|
|
$this->assertEmpty($parameter->getFormat());
|
2016-07-12 00:33:55 +02:00
|
|
|
}
|
|
|
|
|
2016-07-13 23:05:14 +02:00
|
|
|
public function testDeprecatedAction()
|
|
|
|
{
|
2016-11-30 14:08:10 +01:00
|
|
|
$operation = $this->getOperation('/api/deprecated', 'get');
|
2016-07-13 23:05:14 +02:00
|
|
|
|
|
|
|
$this->assertEquals('This action is deprecated.', $operation->getSummary());
|
|
|
|
$this->assertEquals('Please do not use this action.', $operation->getDescription());
|
|
|
|
$this->assertTrue($operation->getDeprecated());
|
|
|
|
}
|
|
|
|
|
2016-08-01 19:58:57 +02:00
|
|
|
public function testApiPlatform()
|
2016-07-28 10:20:59 +02:00
|
|
|
{
|
2016-08-01 19:58:57 +02:00
|
|
|
$operation = $this->getOperation('/api/dummies', 'get');
|
|
|
|
$operation = $this->getOperation('/api/foo', 'get');
|
|
|
|
$operation = $this->getOperation('/api/foo', 'post');
|
|
|
|
$operation = $this->getOperation('/api/dummies/{id}', 'get');
|
2016-07-28 10:20:59 +02:00
|
|
|
}
|
|
|
|
|
2017-01-14 17:36:56 +01:00
|
|
|
public function testUserModel()
|
|
|
|
{
|
2017-12-03 20:30:44 +02:00
|
|
|
$this->assertEquals(
|
|
|
|
[
|
|
|
|
'type' => 'object',
|
|
|
|
'properties' => [
|
|
|
|
'money' => [
|
|
|
|
'type' => 'number',
|
|
|
|
'format' => 'float',
|
2017-12-18 21:07:44 +01:00
|
|
|
'default' => 0.0,
|
2017-12-03 20:30:44 +02:00
|
|
|
],
|
|
|
|
'id' => [
|
|
|
|
'type' => 'integer',
|
2017-12-17 10:44:07 +01:00
|
|
|
'description' => 'User id',
|
2017-12-03 20:30:44 +02:00
|
|
|
'readOnly' => true,
|
2017-12-17 10:44:07 +01:00
|
|
|
'title' => 'userid',
|
2017-12-03 20:30:44 +02:00
|
|
|
'example' => 1,
|
|
|
|
],
|
|
|
|
'email' => [
|
|
|
|
'type' => 'string',
|
|
|
|
'readOnly' => false,
|
|
|
|
],
|
2017-12-15 17:39:18 +01:00
|
|
|
'roles' => [
|
2017-12-17 17:58:41 +02:00
|
|
|
'title' => 'roles',
|
2017-12-15 17:39:18 +01:00
|
|
|
'type' => 'array',
|
|
|
|
'description' => 'User roles',
|
|
|
|
'example' => '["ADMIN","SUPERUSER"]',
|
|
|
|
'items' => ['type' => 'string'],
|
2017-12-17 17:58:41 +02:00
|
|
|
'default' => ['user'],
|
2017-12-15 17:39:18 +01:00
|
|
|
],
|
2017-12-03 20:30:44 +02:00
|
|
|
'friendsNumber' => [
|
|
|
|
'type' => 'string',
|
|
|
|
],
|
2018-02-19 21:41:05 +01:00
|
|
|
'creationDate' => [
|
2017-12-03 20:30:44 +02:00
|
|
|
'type' => 'string',
|
|
|
|
'format' => 'date-time',
|
|
|
|
],
|
|
|
|
'users' => [
|
|
|
|
'items' => [
|
|
|
|
'$ref' => '#/definitions/User',
|
|
|
|
],
|
|
|
|
'type' => 'array',
|
|
|
|
],
|
2018-08-30 01:10:36 +02:00
|
|
|
'friend' => [
|
|
|
|
'$ref' => '#/definitions/User',
|
|
|
|
],
|
2017-12-03 20:30:44 +02:00
|
|
|
'dummy' => [
|
|
|
|
'$ref' => '#/definitions/Dummy2',
|
|
|
|
],
|
2017-12-17 17:58:41 +02:00
|
|
|
'status' => [
|
|
|
|
'type' => 'string',
|
2017-12-18 21:07:44 +01:00
|
|
|
'enum' => ['disabled', 'enabled'],
|
2017-12-17 17:58:41 +02:00
|
|
|
],
|
2018-12-10 14:21:09 +01:00
|
|
|
'dateAsInterface' => [
|
|
|
|
'type' => 'string',
|
|
|
|
'format' => 'date-time',
|
2018-12-10 14:25:08 +01:00
|
|
|
],
|
2017-12-03 20:30:44 +02:00
|
|
|
],
|
|
|
|
],
|
|
|
|
$this->getModel('User')->toArray()
|
|
|
|
);
|
2017-01-14 17:36:56 +01:00
|
|
|
}
|
|
|
|
|
2017-06-24 17:49:00 +02:00
|
|
|
public function testFormSupport()
|
|
|
|
{
|
2017-09-20 08:18:58 +03:00
|
|
|
$this->assertEquals([
|
|
|
|
'type' => 'object',
|
2020-12-02 15:38:38 +01:00
|
|
|
'description' => 'this is the description of an user',
|
2017-09-20 08:18:58 +03:00
|
|
|
'properties' => [
|
2018-04-27 11:57:21 +02:00
|
|
|
'strings' => [
|
|
|
|
'items' => ['type' => 'string'],
|
|
|
|
'type' => 'array',
|
|
|
|
],
|
2017-09-20 08:18:58 +03:00
|
|
|
'dummy' => ['$ref' => '#/definitions/DummyType'],
|
2017-11-11 13:33:41 +02:00
|
|
|
'dummies' => [
|
|
|
|
'items' => ['$ref' => '#/definitions/DummyType'],
|
|
|
|
'type' => 'array',
|
2017-12-17 10:44:07 +01:00
|
|
|
],
|
2018-04-27 11:57:21 +02:00
|
|
|
'empty_dummies' => [
|
|
|
|
'items' => ['$ref' => '#/definitions/DummyEmptyType'],
|
|
|
|
'type' => 'array',
|
|
|
|
],
|
2018-02-19 10:56:51 +01:00
|
|
|
'quz' => [
|
|
|
|
'type' => 'string',
|
|
|
|
'description' => 'User type.',
|
|
|
|
],
|
2018-05-11 00:21:26 +02:00
|
|
|
'entity' => [
|
|
|
|
'type' => 'string',
|
|
|
|
'format' => 'Entity id',
|
|
|
|
],
|
2018-08-29 22:14:19 +01:00
|
|
|
'entities' => [
|
|
|
|
'type' => 'array',
|
|
|
|
'format' => '[Entity id]',
|
|
|
|
'items' => ['type' => 'string'],
|
|
|
|
],
|
|
|
|
'document' => [
|
|
|
|
'type' => 'string',
|
|
|
|
'format' => 'Document id',
|
|
|
|
],
|
|
|
|
'documents' => [
|
|
|
|
'type' => 'array',
|
|
|
|
'format' => '[Document id]',
|
|
|
|
'items' => ['type' => 'string'],
|
|
|
|
],
|
2018-05-09 23:30:21 +02:00
|
|
|
'extended_builtin' => [
|
|
|
|
'type' => 'string',
|
|
|
|
'enum' => ['foo', 'bar'],
|
|
|
|
],
|
2019-03-07 08:48:56 +01:00
|
|
|
'save' => [
|
|
|
|
],
|
2017-09-20 08:18:58 +03:00
|
|
|
],
|
2018-08-29 22:14:19 +01:00
|
|
|
'required' => ['dummy', 'dummies', 'entity', 'entities', 'document', 'documents', 'extended_builtin'],
|
2017-09-20 08:18:58 +03:00
|
|
|
], $this->getModel('UserType')->toArray());
|
|
|
|
|
2017-06-24 17:49:00 +02:00
|
|
|
$this->assertEquals([
|
|
|
|
'type' => 'object',
|
|
|
|
'properties' => [
|
|
|
|
'bar' => [
|
|
|
|
'type' => 'string',
|
|
|
|
],
|
|
|
|
'foo' => [
|
|
|
|
'type' => 'string',
|
|
|
|
'enum' => ['male', 'female'],
|
2017-06-26 10:34:42 +02:00
|
|
|
],
|
2018-09-24 17:35:57 +02:00
|
|
|
'boo' => [
|
|
|
|
'type' => 'boolean',
|
|
|
|
'enum' => [true, false],
|
|
|
|
],
|
2018-02-03 12:52:43 +01:00
|
|
|
'foz' => [
|
|
|
|
'type' => 'array',
|
|
|
|
'items' => [
|
|
|
|
'type' => 'string',
|
|
|
|
'enum' => ['male', 'female'],
|
|
|
|
],
|
|
|
|
],
|
2017-12-15 16:58:40 +01:00
|
|
|
'baz' => [
|
2017-12-17 10:44:07 +01:00
|
|
|
'type' => 'boolean',
|
|
|
|
],
|
2017-12-19 00:22:26 +01:00
|
|
|
'bey' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
],
|
2018-08-30 00:16:19 +02:00
|
|
|
'password' => [
|
|
|
|
'type' => 'object',
|
|
|
|
'required' => ['first_field', 'second'],
|
|
|
|
'properties' => [
|
|
|
|
'first_field' => [
|
|
|
|
'type' => 'string',
|
|
|
|
'format' => 'password',
|
|
|
|
],
|
|
|
|
'second' => [
|
|
|
|
'type' => 'string',
|
|
|
|
'format' => 'password',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
2017-06-24 17:49:00 +02:00
|
|
|
],
|
2018-08-30 00:16:19 +02:00
|
|
|
'required' => ['foo', 'foz', 'password'],
|
2017-06-24 17:49:00 +02:00
|
|
|
], $this->getModel('DummyType')->toArray());
|
|
|
|
}
|
2018-01-25 21:11:34 +01:00
|
|
|
|
|
|
|
public function testSecurityAction()
|
|
|
|
{
|
|
|
|
$operation = $this->getOperation('/api/security', 'get');
|
|
|
|
|
|
|
|
$expected = [
|
|
|
|
['api_key' => []],
|
|
|
|
['basic' => []],
|
|
|
|
];
|
|
|
|
$this->assertEquals($expected, $operation->getSecurity());
|
|
|
|
}
|
2018-02-05 18:39:58 +01:00
|
|
|
|
2018-04-16 13:43:42 +02:00
|
|
|
public function testClassSecurityAction()
|
|
|
|
{
|
|
|
|
$operation = $this->getOperation('/api/security/class', 'get');
|
|
|
|
|
|
|
|
$expected = [
|
|
|
|
['basic' => []],
|
|
|
|
];
|
|
|
|
$this->assertEquals($expected, $operation->getSecurity());
|
|
|
|
}
|
|
|
|
|
2018-02-05 18:39:58 +01:00
|
|
|
public function testSymfonyConstraintDocumentation()
|
|
|
|
{
|
|
|
|
$this->assertEquals([
|
|
|
|
'required' => [
|
|
|
|
'propertyNotBlank',
|
|
|
|
'propertyNotNull',
|
|
|
|
],
|
|
|
|
'properties' => [
|
|
|
|
'propertyNotBlank' => [
|
|
|
|
'type' => 'integer',
|
2020-07-12 14:54:39 +02:00
|
|
|
'maxItems' => '10',
|
|
|
|
'minItems' => '0',
|
2018-02-05 18:39:58 +01:00
|
|
|
],
|
|
|
|
'propertyNotNull' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
],
|
2018-08-30 00:32:11 +02:00
|
|
|
'propertyAssertLength' => [
|
2018-02-05 18:39:58 +01:00
|
|
|
'type' => 'integer',
|
|
|
|
'maxLength' => '50',
|
|
|
|
'minLength' => '0',
|
|
|
|
],
|
|
|
|
'propertyRegex' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
'pattern' => '.*[a-z]{2}.*',
|
|
|
|
],
|
|
|
|
'propertyCount' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
'maxItems' => '10',
|
|
|
|
'minItems' => '0',
|
|
|
|
],
|
|
|
|
'propertyChoice' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
'enum' => ['choice1', 'choice2'],
|
|
|
|
],
|
2018-05-20 15:59:52 +02:00
|
|
|
'propertyChoiceWithCallback' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
'enum' => ['choice1', 'choice2'],
|
|
|
|
],
|
2018-09-26 16:51:43 +02:00
|
|
|
'propertyChoiceWithCallbackWithoutClass' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
'enum' => ['choice1', 'choice2'],
|
|
|
|
],
|
2018-02-05 18:39:58 +01:00
|
|
|
'propertyExpression' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
],
|
2018-12-19 15:41:27 +01:00
|
|
|
'propertyRange' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
'maximum' => 5,
|
|
|
|
'minimum' => 1,
|
|
|
|
],
|
|
|
|
'propertyLessThan' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
'exclusiveMaximum' => 42,
|
|
|
|
],
|
|
|
|
'propertyLessThanOrEqual' => [
|
|
|
|
'type' => 'integer',
|
|
|
|
'maximum' => 23,
|
|
|
|
],
|
2018-02-05 18:39:58 +01:00
|
|
|
],
|
|
|
|
'type' => 'object',
|
|
|
|
], $this->getModel('SymfonyConstraints')->toArray());
|
|
|
|
}
|
2018-02-19 10:49:52 +01:00
|
|
|
|
|
|
|
public function testConfigReference()
|
|
|
|
{
|
|
|
|
$operation = $this->getOperation('/api/configReference', 'get');
|
|
|
|
$this->assertEquals('#/definitions/Test', $operation->getResponses()->get('200')->getSchema()->getRef());
|
2018-10-02 16:06:18 +07:00
|
|
|
$this->assertEquals('#/responses/201', $operation->getResponses()->get('201')->getRef());
|
2018-02-19 10:49:52 +01:00
|
|
|
}
|
2018-06-02 13:48:44 +02:00
|
|
|
|
|
|
|
public function testOperationsWithOtherAnnotationsAction()
|
|
|
|
{
|
|
|
|
$getOperation = $this->getOperation('/api/multi-annotations', 'get');
|
|
|
|
$this->assertSame('This is the get operation', $getOperation->getDescription());
|
|
|
|
$this->assertSame('Worked well!', $getOperation->getResponses()->get(200)->getDescription());
|
|
|
|
|
|
|
|
$postOperation = $this->getOperation('/api/multi-annotations', 'post');
|
|
|
|
$this->assertSame('This is post', $postOperation->getDescription());
|
|
|
|
$this->assertSame('Worked well!', $postOperation->getResponses()->get(200)->getDescription());
|
|
|
|
}
|
2019-04-10 20:52:45 +02:00
|
|
|
|
|
|
|
public function testNoDuplicatedParameters()
|
|
|
|
{
|
|
|
|
$this->assertFalse($this->getOperation('/api/article/{id}', 'get')->getParameters()->has('id', 'path'));
|
|
|
|
}
|
2020-05-30 18:08:25 +02:00
|
|
|
|
|
|
|
public function testSerializedNameAction()
|
|
|
|
{
|
2020-08-06 10:26:59 +02:00
|
|
|
if (!class_exists(SerializedName::class)) {
|
2020-05-30 18:08:25 +02:00
|
|
|
$this->markTestSkipped('Annotation @SerializedName doesn\'t exist.');
|
|
|
|
}
|
|
|
|
|
|
|
|
$modelProperties = $this->getModel('SerializedNameEnt')->getProperties();
|
|
|
|
$this->assertCount(2, $modelProperties);
|
|
|
|
|
|
|
|
$this->assertFalse($modelProperties->has('foo'));
|
|
|
|
$this->assertTrue($modelProperties->has('notfoo'));
|
|
|
|
|
|
|
|
$this->assertFalse($modelProperties->has('bar'));
|
|
|
|
$this->assertTrue($modelProperties->has('notwhatyouthink'));
|
|
|
|
}
|
2020-07-11 17:53:09 +02:00
|
|
|
|
|
|
|
public function testInvokableController()
|
|
|
|
{
|
|
|
|
$operation = $this->getOperation('/api/invoke', 'get');
|
|
|
|
$this->assertSame('Invokable!', $operation->getResponses()->get(200)->getDescription());
|
|
|
|
}
|
2016-07-12 00:33:55 +02:00
|
|
|
}
|