From 6f452ea995c25a30f214a530fddc6e9d236bdfce Mon Sep 17 00:00:00 2001 From: Александр Кирюхин Date: Fri, 19 Jan 2018 03:13:16 +0300 Subject: Completed reference implementation, added tests --- src/Compiler/CompilerInterface.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/Compiler/CompilerInterface.php') diff --git a/src/Compiler/CompilerInterface.php b/src/Compiler/CompilerInterface.php index 042a7d0..15b6823 100644 --- a/src/Compiler/CompilerInterface.php +++ b/src/Compiler/CompilerInterface.php @@ -1,4 +1,6 @@ * @license: MIT @@ -8,16 +10,20 @@ namespace NeonXP\Dotenv\Compiler; use NeonXP\Dotenv\Types\KeyValue; +/** + * Interface CompilerInterface + * @package NeonXP\Dotenv\Compiler + */ interface CompilerInterface { /** * @param KeyValue[] $collection */ - function setRawCollection(array $collection): void; + public function setRawCollection(array $collection): void; /** * @param KeyValue $keyValue * @return KeyValue */ - function compileKeyValue(KeyValue $keyValue): KeyValue; + public function compileKeyValue(KeyValue $keyValue): KeyValue; } \ No newline at end of file -- cgit v1.2.3