public function ActiveHoursDates::__construct in SMS Framework 8
Same name and namespace in other branches
- 2.x modules/sms_user/src/ActiveHoursDates.php \Drupal\sms_user\ActiveHoursDates::__construct()
- 2.1.x modules/sms_user/src/ActiveHoursDates.php \Drupal\sms_user\ActiveHoursDates::__construct()
Construct a new ActiveHoursDates object.
Parameters
\Drupal\Core\Datetime\DrupalDateTime $start: The start date.
\Drupal\Core\Datetime\DrupalDateTime $end: The end date.
File
- modules/
sms_user/ src/ ActiveHoursDates.php, line 36
Class
- ActiveHoursDates
- Define a start and end date container for DrupalDateTime.
Namespace
Drupal\sms_userCode
public function __construct(DrupalDateTime $start, DrupalDateTime $end) {
$this->start = $start;
$this->end = $end;
}