for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
*
*/
namespace flightlog\query;
use Webmozart\Assert\Assert;
* @author Laurent De Coninck <[email protected]>
class FlightForQuarterAndPilotQuery
{
* @var int
private $pilotId;
private $quarter;
private $year;
* @param int $pilotId
* @param int $quarter
* @param int $year
public function __construct($pilotId, $quarter, $year)
Assert::integerish($pilotId);
Assert::integerish($quarter);
Assert::integerish($year);
$this->pilotId = (int) $pilotId;
$this->quarter = (int) $quarter;
$this->year = (int) $year;
}
* @return int
public function getPilotId()
return $this->pilotId;
public function getQuarter()
return $this->quarter;
public function getYear()
return $this->year;