# shiftcontroller/4.9.95/sh4/shifts/durationservice.php

ShiftController Employee Shift Scheduling, version 4.9.95. 20 lines.

- Page: https://pluginprobe.com/plugins/shiftcontroller/4.9.95/code/sh4/shifts/durationservice.php
- Raw: https://pluginprobe.com/plugins/shiftcontroller/4.9.95/raw/sh4/shifts/durationservice.php
- Modified: 2023-05-29T12:46:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/shiftcontroller/4.9.95/code/sh4/shifts/durationservice.php#L10-L20`.

```php
<?php if (! defined('ABSPATH')) exit; // Exit if accessed directly
class SH4_Shifts_DurationService
{
	public $settings, $t;

	public function __construct(
		HC3_Settings $settings,
		HC3_Time $t
		)
	{
		$this->settings = $settings;
		$this->t = $t;
	}

	public function newCounter()
	{
		$return = new SH4_Shifts_Duration( $this->settings, $this->t );
		return $return;
	}
}
```
