modify plugin name
This commit is contained in:
+3
-3
@@ -256,13 +256,13 @@ if (!function_exists('injectRuntime')) {
|
||||
$methods = $target->getMethodsAttribute();
|
||||
foreach ($methods as $method => $attribute) {
|
||||
|
||||
if (str_contains($class, 'SiteController')) {
|
||||
echo $class, ' ', $method, ' ', var_export($attribute, 'true'), PHP_EOL;
|
||||
}
|
||||
|
||||
foreach ($attribute as $item) {
|
||||
$item = $item->newInstance();
|
||||
|
||||
if (str_contains($class, 'SiteController')) {
|
||||
echo $class, ' ', $method, ' ', $item::class, PHP_EOL;
|
||||
}
|
||||
|
||||
if ($item instanceof Route) {
|
||||
$router[] = [$item, $class, $method];
|
||||
|
||||
Reference in New Issue
Block a user