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