Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 3 |
Matcher | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
__constructor | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
<?php | |
/** | |
* Director | |
* | |
* A general purpose url router and generator | |
* | |
* @package Director | |
* @author Timothy J. Warren | |
* @copyright Copyright (c) 2016 | |
* @link https://git.timshomepage.net/timw4mail/director | |
* @license MIT | |
*/ | |
namespace Aviat\Director; | |
use Psr\Http\Message\ServerRequestInterface; | |
use Psr\Log\LoggerInterface; | |
/** | |
* Class to determine the current route | |
*/ | |
class Matcher { | |
/** | |
* Config object | |
* | |
* @var RouteConfig | |
*/ | |
protected $config; | |
/** | |
* Constructor | |
* | |
* @param RouteConfig $config | |
*/ | |
public function __constructor(RouteConfig $config) | |
{ | |
$this->config = $config; | |
} | |
} |