You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
523 B
25 lines
523 B
<?php
|
|
|
|
namespace FastRoute\Dispatcher;
|
|
|
|
class MarkBasedTest extends DispatcherTest
|
|
{
|
|
public function setUp()
|
|
{
|
|
preg_match('/(*MARK:A)a/', 'a', $matches);
|
|
if (!isset($matches['MARK'])) {
|
|
$this->markTestSkipped('PHP 5.6 required for MARK support');
|
|
}
|
|
}
|
|
|
|
protected function getDispatcherClass()
|
|
{
|
|
return 'FastRoute\\Dispatcher\\MarkBased';
|
|
}
|
|
|
|
protected function getDataGeneratorClass()
|
|
{
|
|
return 'FastRoute\\DataGenerator\\MarkBased';
|
|
}
|
|
}
|