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\Street;
use VasilDakov\Speedy\ToArray;
/**
* Class FindStreetRequest
*
* @author Vasil Dakov <[email protected]>
* @copyright 2009-2022 Neutrino.bg
* @version 1.0
*/
class FindStreetRequest
{
use ToArray;
private int $siteId;
private string $name;
private ?string $type = null;
public function __construct($siteId, $name, $type = null)
$this->siteId = $siteId;
$this->name = $name;
$this->type = $type;
}