for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace nebula\route\uri\parameter;
use nebula\route\uri\parameter\Parameter;
/**
* 匹配 string 参数
*/
class UrlParameter extends StringParameter {
protected static $name = 'url';
* 获取匹配字符串
*
* @return string
function getMatch():string {
return '(.+)';
}