public function Time::__construct in Lightning Scheduler 8
Time constructor.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
\Drupal\Core\State\StateInterface $state: The state service.
Overrides Time::__construct
File
- src/
Time.php, line 32
Class
- Time
- @internal This is an internal part of Lightning Scheduler and may be changed or removed at any time without warning. It should not be used by external code in any way.
Namespace
Drupal\lightning_schedulerCode
public function __construct(RequestStack $request_stack, StateInterface $state) {
parent::__construct($request_stack);
$this->state = $state;
}