class_implements

Supported Versions: PHP 5, PHP 7, PHP 8
Return the interfaces which are implemented by the given class or interface
<?php class_implements(object|string $object_or_class, bool $autoload = true): array|false
<?php         $providedSolutions = $this->solutionProviders

            ->filter(function (string $solutionClass) {

                if (! in_array(HasSolutionsForThrowable::class, class_implements($solutionClass))) {

                    return false;

                }
<?php             return null;

        }



        if (! in_array(Solution::class, class_implements($solutionClass))) {

            return null;

        }