改名
This commit is contained in:
@@ -152,6 +152,7 @@ class Annotation extends Component
|
||||
continue;
|
||||
}
|
||||
|
||||
var_dump($tmp);
|
||||
$this->_classes[$reflect->getName()][$method->getName()] = $tmp;
|
||||
}
|
||||
$this->resolveProperty($reflect, $object);
|
||||
|
||||
@@ -73,7 +73,6 @@ class Middleware
|
||||
[$controller, $action] = $node->handler;
|
||||
$attributes = Snowflake::app()->getAttributes();
|
||||
$annotation = $attributes->getByClass(get_class($controller), $action);
|
||||
var_dump($annotation);
|
||||
if (count($annotation) < 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user