peakphp/framework

View on GitHub
src/Config/Stream/JsonStream.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Peak\Config\Stream;

use Peak\Config\Processor\JsonProcessor;

/**
 * Class JsonStream
 * @package Peak\Config\Stream
 */
class JsonStream extends DataStream
{
    /**
     * JsonStream constructor.
     * @param string $json
     */
    public function __construct($json)
    {
        parent::__construct($json, new JsonProcessor());
    }
}