for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace VasilDakov\Speedy\Service\Location\State;
use Doctrine\Common\Collections\ArrayCollection;
use JMS\Serializer\Annotation as Serializer;
/**
* Class FindStateResponse
*
* @author Vasil Dakov <[email protected]>
* @copyright 2009-2022 Neutrino.bg
* @version 1.0
* @Serializer\AccessType("public_method")
*/
class FindStateResponse
{
* @Serializer\Type("ArrayCollection<VasilDakov\Speedy\Model\State>")
private ArrayCollection $states;
public function __construct()
$this->states = new ArrayCollection();
}
* @param ArrayCollection $states
public function setStates(ArrayCollection $states): void
$this->states = $states;
* @return ArrayCollection
public function getStates(): ArrayCollection
return $this->states;