# shiftcontroller/4.9.66/sh4/conflicts/boot.php

ShiftController Employee Shift Scheduling, version 4.9.66. 17 lines.

- Page: https://pluginprobe.com/plugins/shiftcontroller/4.9.66/code/sh4/conflicts/boot.php
- Raw: https://pluginprobe.com/plugins/shiftcontroller/4.9.66/raw/sh4/conflicts/boot.php
- Modified: 2021-03-13T08:04:04+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.66/code/sh4/conflicts/boot.php#L10-L20`.

```php
<?php if (! defined('ABSPATH')) exit; // Exit if accessed directly
class SH4_Conflicts_Boot
{
	public function __construct(
		HC3_Router $router,
		HC3_Acl $acl
		)
	{
		$router
			->register( 'get:conflicts/{shift}/{calendar}/{start}/{end}/{employee}', array('SH4_Conflicts_View_Index', 'render') )
			;

		$acl
			->register( 'get:shifts/{id}/conflicts', array('SH4_Conflicts_Acl', 'checkView') )
			;
	}
}
```
