File manager - Edit - /home/premiey/www/wp-content/plugins/ameliabooking/src/Domain/ValueObjects/Number/Integer/DateRepeat.php
Back
<?php namespace AmeliaBooking\Domain\ValueObjects\Number\Integer; /** * Class DateRepeat * * @package AmeliaBooking\Domain\ValueObjects\Number\Integer */ final class DateRepeat { const ON = 1; const OFF = 0; /** * @var int */ private $repeat; /** * repeat constructor. * * @param int $repeat */ public function __construct($repeat) { $this->repeat = (int)$repeat; } /** * Return the repeat from the value object * * @return int */ public function getValue() { return $this->repeat; } /** * @return bool */ public function isRepeating() { return $this->repeat === self::ON; } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings