| 1 | <?php  | 
            ||
| 13 | class GetPilotsWithMissionsQuery  | 
            ||
| 14 | { | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * @var int  | 
            ||
| 18 | */  | 
            ||
| 19 | private $year;  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * @var int  | 
            ||
| 23 | */  | 
            ||
| 24 | private $quarter;  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * @param int $year  | 
            ||
| 28 | * @param int $quarter  | 
            ||
| 29 | */  | 
            ||
| 30 | public function __construct($year, $quarter = null)  | 
            ||
| 45 | |||
| 46 | /**  | 
            ||
| 47 | * @return int  | 
            ||
| 48 | */  | 
            ||
| 49 | public function getYear()  | 
            ||
| 53 | |||
| 54 | /**  | 
            ||
| 55 | * @return int  | 
            ||
| 56 | */  | 
            ||
| 57 | public function getQuarter()  | 
            ||
| 61 | |||
| 62 | /**  | 
            ||
| 63 | * @return bool  | 
            ||
| 64 | */  | 
            ||
| 65 | public function hasQuarter()  | 
            ||
| 69 | |||
| 70 | /**  | 
            ||
| 71 | * @return bool  | 
            ||
| 72 | */  | 
            ||
| 73 | public function isPilotsOnly()  | 
            ||
| 77 | }  | 
            ||
| 78 |