<?php class_implements(object|string $object_or_class, bool $autoload = true): array|false
<?php private static function createDriver(array $params): Driver { if (isset($params['driverClass'])) { $interfaces = class_implements($params['driverClass']); if ($interfaces === false || ! in_array(Driver::class, $interfaces, true)) { throw Exception::invalidDriverClass($params['driverClass']);