hendrikmaus/spas

View on GitHub
src/Formatter/GenericFormatter.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Hmaus\Spas\Formatter;

class GenericFormatter implements Formatter
{
    public function format($data): string
    {
        return $data;
    }

    public function getContentTypes()
    {
        return [
            'text/plain'
        ];
    }
}