for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace FlyCrud\Formats;
use FlyCrud\FormatInterface;
class Serialize implements FormatInterface
{
public function getExtension(): string
return 'txt';
}
public function stringify(array $data): string
return serialize($data);
public function parse(string $source): array
return unserialize($source) ?: [];