public static function display(array $assocArgs, CheckerCollection $checkerCollection): void
    {
        // TODO: Use null coalescing assignment operator.
        $assocArgs['fields'] = $assocArgs['fields'] ?? self::DEFAULT_FIELDS;
        $formatter = new Formatter($assocArgs, $assocArgs['fields']);

        $items = (in_array($formatter->format, ['ids', 'count'], true))
            ? self::pluckIds($checkerCollection)
            : self::toArray($checkerCollection);

        $formatter->display_items($items);
    }