改名
This commit is contained in:
@@ -89,6 +89,9 @@ class Node extends HttpService
|
|||||||
$this->annotationInject(get_class($controller), $action);
|
$this->annotationInject(get_class($controller), $action);
|
||||||
$this->callback = Reduce::reduce($this->createDispatch(), $this->annotation());
|
$this->callback = Reduce::reduce($this->createDispatch(), $this->annotation());
|
||||||
}
|
}
|
||||||
|
if ($this->path == 'user/attributes') {
|
||||||
|
var_dump($this);
|
||||||
|
}
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -325,9 +328,6 @@ class Node extends HttpService
|
|||||||
if (empty($annotation)) {
|
if (empty($annotation)) {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
if ($this->path == 'user/attributes') {
|
|
||||||
var_dump($annotation);
|
|
||||||
}
|
|
||||||
foreach ($annotation as $name => $attribute) {
|
foreach ($annotation as $name => $attribute) {
|
||||||
if ($attribute instanceof \Annotation\Route\Interceptor) {
|
if ($attribute instanceof \Annotation\Route\Interceptor) {
|
||||||
$this->addInterceptor($attribute->interceptor);
|
$this->addInterceptor($attribute->interceptor);
|
||||||
|
|||||||
Reference in New Issue
Block a user