改名
This commit is contained in:
@@ -105,14 +105,14 @@ class Annotation extends Component
|
|||||||
*/
|
*/
|
||||||
private function getReflect(string $class, string $alias): array
|
private function getReflect(string $class, string $alias): array
|
||||||
{
|
{
|
||||||
var_dump($class);
|
|
||||||
|
|
||||||
$reflect = $this->reflectClass($class);
|
$reflect = $this->reflectClass($class);
|
||||||
if ($reflect->isInstantiable()) {
|
if ($reflect->isInstantiable()) {
|
||||||
$object = $reflect->newInstance();
|
$object = $reflect->newInstance();
|
||||||
foreach ($reflect->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
|
foreach ($reflect->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
|
||||||
$tmp = $this->resolveAnnotations($method, $alias, $object);
|
$tmp = $this->resolveAnnotations($method, $alias, $object);
|
||||||
|
|
||||||
|
var_dump($tmp);
|
||||||
|
|
||||||
$this->_classes[$reflect->getName()][$method->getName()] = $tmp;
|
$this->_classes[$reflect->getName()][$method->getName()] = $tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user