Пример #1
0
 /**
  * @param int  $value
  * @param bool $solar
  */
 public function __construct($value, $solar = false)
 {
     parent::__construct($value);
     $this->solar = $solar;
 }
Пример #2
0
 /**
  * @param int      $value
  * @param int|null $daysPerMonth
  */
 public function __construct($value, $daysPerMonth = null)
 {
     parent::__construct($value);
     $this->daysPerMonth = $daysPerMonth;
 }