modify plugin name
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user