Rename the class from ReadEnvFile to DotEnv. Add everything to a composer json file so it can be published to composer repository. Add phpUnit tests for system
14 lines
294 B
PHP
14 lines
294 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser;
|
|
|
|
interface ErrorHandler
|
|
{
|
|
/**
|
|
* Handle an error generated during lexing, parsing or some other operation.
|
|
*
|
|
* @param Error $error The error that needs to be handled
|
|
*/
|
|
public function handleError(Error $error);
|
|
}
|