Base::getFormatCallable: Bitrix method

      
<?php 
//  Bitrix\Bizproc\BaseType\Base :: getFormatCallable()
//  /dist/bitrix/modules/bizproc/lib/basetype/base.php:37

    
protected static function getFormatCallable($format)
    {
        
$format strtolower($format);
        
$formats = static::getFormats();
        if (isset(
$formats[$format]['callable']))
        {
            
$callable $formats[$format]['callable'];
            if (
is_string($callable))
            {
                
$callable = array(get_called_class(), $callable);
            }

            return 
$callable;
        }
        return 
null;
    }