for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
require_once __DIR__ . '/CommandInterface.php';
/**
* @author Laurent De Coninck <[email protected]>
*/
class CreateMonthBillCommand implements CommandInterface
{
* @var int
private $billType;
* @var string
private $publicNote;
private $privateNote;
private $year;
private $month;
* @param int $billType
* @param string $publicNote
* @param string $privateNote
* @param int $year
* @param int $month
public function __construct(
$billType,
$publicNote,
$privateNote,
$year,
$month
) {
$this->billType = $billType;
$this->publicNote = $publicNote;
$this->privateNote = $privateNote;
$this->year = $year;
$this->month = $month;
}
* @return int
public function getBillType()
return $this->billType;
* @return string
public function getPublicNote()
return $this->publicNote;
public function getPrivateNote()
return $this->privateNote;
public function getYear()
return $this->year;
public function getMonth()
return $this->month;