改名
This commit is contained in:
@@ -87,14 +87,7 @@ class Annotation extends BaseAnnotation
|
|||||||
if (!$this->isLegitimate($events)) {
|
if (!$this->isLegitimate($events)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$_key = $this->getName($annotation, $events);
|
$this->push($this->getName($annotation, $events), [$controller, $methodName]);
|
||||||
if (empty($events[2])) {
|
|
||||||
$this->push($_key, [$controller, $methodName]);
|
|
||||||
} else {
|
|
||||||
$handler = $this->createHandler($controller, $methodName, $events[2]);
|
|
||||||
|
|
||||||
$this->push($_key, $handler, [request(), [$controller, $methodName]]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user