| 1 | <?php |
||
| 7 | class RecentOvertime extends AbstractWidget |
||
| 8 | { |
||
| 9 | public function __construct() |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The configuration array. |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | protected $config = []; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * The number of seconds before each reload. |
||
| 23 | * |
||
| 24 | * @var int|float |
||
| 25 | */ |
||
| 26 | public $reloadTimeout; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * The number of minutes before cache expires. |
||
| 30 | * False means no caching at all. |
||
| 31 | * |
||
| 32 | * @var int|float|bool |
||
| 33 | */ |
||
| 34 | public $cacheTime = false; |
||
| 35 | /** |
||
| 36 | * Treat this method as a controller action. |
||
| 37 | * Return view() or other content to display. |
||
| 38 | */ |
||
| 39 | public function run() |
||
| 47 | } |