modify
This commit is contained in:
@@ -46,7 +46,9 @@ use Snowflake\Snowflake;
|
|||||||
if ($method->isPrivate() || $method->isProtected()) {
|
if ($method->isPrivate() || $method->isProtected()) {
|
||||||
$this->setter($class, $method, $injectValue);
|
$this->setter($class, $method, $injectValue);
|
||||||
} else {
|
} else {
|
||||||
|
if (is_string($injectValue)){
|
||||||
var_dump($injectValue);
|
var_dump($injectValue);
|
||||||
|
}
|
||||||
$class->{$method->getName()} = $injectValue;
|
$class->{$method->getName()} = $injectValue;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user