diff options
author | Александр Кирюхин <alexander@kiryukhin.su> | 2018-01-19 03:13:16 +0300 |
---|---|---|
committer | Александр Кирюхин <alexander@kiryukhin.su> | 2018-01-19 03:13:16 +0300 |
commit | 6f452ea995c25a30f214a530fddc6e9d236bdfce (patch) | |
tree | b6538c4e7bd600f3dd4bcaf0d1340155d95da373 /src/Compiler/CompilerInterface.php | |
parent | 6b07f5f4ebb3043efc4991debebb14529cb77aa5 (diff) |
Completed reference implementation, added tests
Diffstat (limited to 'src/Compiler/CompilerInterface.php')
-rw-r--r-- | src/Compiler/CompilerInterface.php | 10 |
1 files changed, 8 insertions, 2 deletions
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 @@ <?php +declare(strict_types=1); + /** * @author: Alexander Kiryukhin <alexander@kiryukhin.su> * @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 |