<?php

namespace ReviewX\Noodlehaus\Writer;

/**
 * Class Serialize
 *
 * @package Config
 */
class Serialize extends AbstractWriter
{
    /**
     * {@inheritdoc}
     */
    public function toString($config, $pretty = \true)
    {
        return \serialize($config);
    }
    /**
     * {@inheritdoc}
     */
    public static function getSupportedExtensions()
    {
        return ['txt'];
    }
}
