Puli\Repository\ChangeStream\JsonChangeStream::__construct PHP Метод

__construct() публичный Метод

public __construct ( string $path )
$path string The path to the JSON file.
    public function __construct($path)
    {
        $this->path = $path;
        $this->encoder = new JsonEncoder();
        $this->encoder->setPrettyPrinting(true);
        $this->encoder->setEscapeSlash(false);
    }