Habari\Format::by_index PHP Метод

by_index() публичный статический Метод

function by_index Returns an indexed formatter object, for use by lambda functions created to supply additional parameters to plugin filters.
public static by_index ( integer $index ) : Format
$index integer The index of the formatter object to return.
Результат Format The formatter object requested
    public static function by_index($index)
    {
        return self::$formatters[$index];
    }