for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace App\Stream\Data;
class PrintRConverter implements Converter
{
public static function getFormat(): string
return 'text/plain';
}
public function convert($data, array $params = []): string
return print_r($data, true);