This commit is contained in:
2021-08-05 16:37:48 +08:00
parent 2402ead3e7
commit c4d1669d50
+1
View File
@@ -35,6 +35,7 @@ use Snowflake\Snowflake;
*/
public function execute(mixed $class, mixed $method = null): bool
{
var_dump(class_implements($class));
if (!($class instanceof ConsumerInterface)) {
return false;
}