NelmioApiDocBundle/Tests/Fixtures/Model/JsonSerializableOptionalConstructorTest.php

25 lines
495 B
PHP
Raw Normal View History

<?php
2015-11-10 01:27:09 +01:00
/*
* This file is part of the NelmioApiDocBundle.
*
* (c) Nelmio <hello@nelm.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model;
class JsonSerializableOptionalConstructorTest implements \JsonSerializable
{
public function __construct($optional = null)
{
}
public function jsonSerialize(): mixed
{
2024-10-01 15:54:04 +03:00
return [];
}
}