for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace flightlog\command;
use CommandInterface;
/**
* @author Laurent De Coninck <[email protected]>
*/
final class ClassifyFlight implements CommandInterface
{
* @var int
private $flightId;
private $projectId;
* @param int $flightId
* @param int $projectId
public function __construct($flightId, $projectId)
$this->flightId = (int)$flightId;
$this->projectId = (int)$projectId;
}
* @return int
public function getFlightId(): int
return $this->flightId;
public function getProjectId(): int
return $this->projectId;