20 lines
334 B
PHP
20 lines
334 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Dotenv\Parser;
|
||
|
|
||
|
interface ParserInterface
|
||
|
{
|
||
|
/**
|
||
|
* Parse content into an entry array.
|
||
|
*
|
||
|
* @param string $content
|
||
|
*
|
||
|
* @throws \Dotenv\Exception\InvalidFileException
|
||
|
*
|
||
|
* @return \Dotenv\Parser\Entry[]
|
||
|
*/
|
||
|
public function parse(string $content);
|
||
|
}
|