|
|
if (!is_subclass_of(static::$eventLoopClass, EventInterface::class)) {
|
|
if (!is_subclass_of(static::$eventLoopClass, EventInterface::class)) {
|
|
|
throw new RuntimeException(sprintf('%s::$eventLoopClass must implement %s', static::class, EventInterface::class));
|
|
throw new RuntimeException(sprintf('%s::$eventLoopClass must implement %s', static::class, EventInterface::class));
|