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