Yoast\WP\SEO\Promotions\Domain
Time_Interval::__construct
Time_Interval constructor.
Метод класса: Time_Interval{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Time_Interval = new Time_Interval(); $Time_Interval->__construct( $time_start, $time_end );
- $time_start(int) (обязательный)
- Interval start time.
- $time_end(int) (обязательный)
- Interval end time.
Код Time_Interval::__construct() Time Interval:: construct Yoast 27.6
public function __construct( int $time_start, int $time_end ) {
$this->time_start = $time_start;
$this->time_end = $time_end;
}