Файловый менеджер - Редактировать - /home/bean7936/marc-morin.fr/wp-content/plugins/wp-all-import-pro/src/Scheduling/Interval/ScheduleTime.php
Назад
<?php namespace Wpai\Scheduling\Interval; /** * Class ScheduleTime * @package Wpai\Scheduling\Interval */ class ScheduleTime { /** * @var */ private $times; /** * @var */ private $monthly; /** * @var */ private $timezone; /** * ScheduleTime constructor. * @param $times * @param $monthly * @param $timezone */ public function __construct($times, $monthly, $timezone) { $this->times = $times; $this->monthly = $monthly; $this->timezone = $timezone; } /** * @return array */ public function getTime() { $response = array(); foreach ($this->times as $time) { $response[] = array( 'day' => $time['day'], 'hour' => $time['hour'], 'min' => $time['min'] ); } return $response; } /** * @return mixed */ public function getTimezone() { return $this->timezone; } /** * @return mixed */ public function isMonthly() { return $this->monthly; } }
| ver. 1.6 |
Github
|
.
| PHP 8.3.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка