<?php

declare(strict_types=1);

namespace KadenceWP\KadenceBlocks\Dotenv\Parser;

interface ParserInterface
{
    /**
     * Parse content into an entry array.
     *
     * @param string $content
     *
     * @throws \KadenceWP\KadenceBlocks\Dotenv\Exception\InvalidFileException
     *
     * @return \KadenceWP\KadenceBlocks\Dotenv\Parser\Entry[]
     */
    public function parse(string $content);
}
