改名
This commit is contained in:
@@ -65,6 +65,7 @@ use Snowflake\Snowflake;
|
||||
if ($method instanceof ReflectionProperty) {
|
||||
return $method;
|
||||
}
|
||||
if (is_object($class)) $class = $class::class;
|
||||
$method = Snowflake::getDi()->getClassProperty($class, $method);
|
||||
if (!$method) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user