modify plugin name

This commit is contained in:
2022-02-21 10:56:37 +08:00
parent 50b6d79756
commit 17316250a9
3 changed files with 11 additions and 16 deletions
-3
View File
@@ -27,12 +27,9 @@ use Exception;
/** /**
* @param static $params
* @param mixed $class * @param mixed $class
* @param mixed|null $method * @param mixed|null $method
* @return bool * @return bool
* @throws \Kiri\Exception\NotFindClassException
* @throws \ReflectionException
*/ */
public function execute(mixed $class, mixed $method = null): bool public function execute(mixed $class, mixed $method = null): bool
{ {
-3
View File
@@ -22,12 +22,9 @@ use Exception;
/** /**
* @param static $params
* @param mixed $class * @param mixed $class
* @param mixed|null $method * @param mixed|null $method
* @return bool * @return bool
* @throws \Kiri\Exception\NotFindClassException
* @throws \ReflectionException
*/ */
public function execute(mixed $class, mixed $method = null): bool public function execute(mixed $class, mixed $method = null): bool
{ {
+1
View File
@@ -15,6 +15,7 @@ class Getter
*/ */
public function addGetter($name, $class, $method) public function addGetter($name, $class, $method)
{ {
var_dump($name, $class);
$this->_classMapping[$class][$name] = $method; $this->_classMapping[$class][$name] = $method;
} }