Laravel URI获取方法
能看懂的自然明白,呵呵。
public function getRouteHashId($route){
$uri = $route->getUri();
$method = $this->getMethod($route);
return md5($method.'|'.$uri);
}
public function getRouteHashId($route){
$uri = $route->getUri();
$method = $this->getMethod($route);
return md5($method.'|'.$uri);
}