eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Compiler\RichTextHtml5ConverterPass::sortConverters PHP Method

sortConverters() protected method

Transforms a two-dimensional array of converters, indexed by priority, into a flat array of Reference objects.
protected sortConverters ( array $convertersByPriority ) : Reference[]
$convertersByPriority array
return Symfony\Component\DependencyInjection\Reference[]
    protected function sortConverters(array $convertersByPriority)
    {
        ksort($convertersByPriority);
        return call_user_func_array('array_merge', $convertersByPriority);
    }
RichTextHtml5ConverterPass