for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Cubiche package.
*
* Copyright (c) Cubiche
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cubiche\Core\Cqrs\Tests\Fixtures\Query;
use Cubiche\Core\Cqrs\Query\QueryNamedInterface;
* NearbyVenuesQuery class.
* @author Ivannis Suárez Jerez <[email protected]>
class NearbyVenuesQuery implements QueryNamedInterface
{
* @var float
protected $latitude;
protected $longitude;
* NearbyVenuesQuery constructor.
* @param float $latitude
* @param float $longitude
public function __construct($latitude, $longitude)
$this->setLatitude($latitude);
$this->setLongitude($longitude);
}
* @return float
public function latitude()
return $this->latitude;
public function setLatitude($latitude)
$this->latitude = $latitude;
public function longitude()
return $this->longitude;
public function setLongitude($longitude)
$this->longitude = $longitude;
* {@inheritdoc}
public function named()
return 'aroundVenues';