for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
/*
* This file is part of the KleijnWeb\SwaggerBundle package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace KleijnWeb\SwaggerBundle\Tests\Serialize\Serializer\Stubs;
class Foo
{
/**
* @var string
private $a;
* @var Bar
private $bar;
* @var \DateTimeInterface
private $aDate;
private $aDateTime;
* Foo constructor.
* @param string $a
* @param Bar $bar
* @param \DateTimeInterface $aDate
* @param \DateTimeInterface $aDateTime
public function __construct(
string $a,
Bar $bar,
\DateTimeInterface $aDate = null,
\DateTimeInterface $aDateTime = null
) {
$this->a = $a;
$this->bar = $bar;
$this->aDate = $aDate;
$this->aDateTime = $aDateTime;
}