Daily.php
1 month ago
Hourly.php
2 years ago
Monthly.php
2 years ago
Schedule.php
1 year ago
SpecificTime.php
2 years ago
Weekly.php
1 year ago
SpecificTime.php
34 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Matomo - free/libre analytics platform |
| 5 | * |
| 6 | * @link https://matomo.org |
| 7 | * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 8 | */ |
| 9 | namespace Piwik\Scheduler\Schedule; |
| 10 | |
| 11 | class SpecificTime extends \Piwik\Scheduler\Schedule\Schedule |
| 12 | { |
| 13 | /** |
| 14 | * @var int |
| 15 | */ |
| 16 | private $scheduledTime; |
| 17 | public function __construct($scheduledTime) |
| 18 | { |
| 19 | $this->scheduledTime = $scheduledTime; |
| 20 | } |
| 21 | public function getRescheduledTime() |
| 22 | { |
| 23 | return $this->scheduledTime; |
| 24 | } |
| 25 | public function setDay($_day) |
| 26 | { |
| 27 | throw new \Exception('not supported'); |
| 28 | } |
| 29 | public function setScheduledTime($scheduledTime) |
| 30 | { |
| 31 | $this->scheduledTime = $scheduledTime; |
| 32 | } |
| 33 | } |
| 34 |