private static function toArray(CheckerCollection $checkerCollection): array
    {
        return array_map(function (CheckerInterface $checker): array {
            return [
                'id' => $checker->getId(),
                'description' => $checker->getDescription(),
                'link' => $checker->getLink(),
            ];
        }, $checkerCollection->all());
    }
private static function toArray(CheckerCollection $checkerCollection): array
    {
        return array_map(function (CheckerInterface $checker): array {
            return [
                'id' => $checker->getId(),
                'description' => $checker->getDescription(),
                'link' => $checker->getLink(),
            ];
        }, $checkerCollection->all());
    }
private static function toArray ( CheckerCollection $ checkerCollection ) : array { return array_map ( function ( CheckerInterface $ checker ) : array { return [ 'id' => $ checker -> getId ( ) , 'description' => $ checker -> getDescription ( ) , 'link' => $ checker -> getLink ( ) , ] ; } , $ checkerCollection -> all ( ) ) ; }
Converts the underlying checkers into a plain PHP array.

@param CheckerCollection $checkerCollection The checker collection instance.

@return array
Converts the underlying checkers into a plain PHP array .