Skip to content

Commit a6ce469

Browse files
committed
add ICodeGenerator
1 parent 07da8d5 commit a6ce469

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/Templating/ICodeGenerator.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
/**
4+
* @author Mohammed Moussaoui
5+
* @copyright Copyright (c) Mohammed Moussaoui. All rights reserved.
6+
* @license MIT License. For full license information see LICENSE file in the project root.
7+
* @link https://github.com/DevNet-Framework
8+
*/
9+
10+
namespace DevNet\Cli\Templating;
11+
12+
interface ICodeGenerator
13+
{
14+
/**
15+
* Generate the code files
16+
* @return array<CodeModel>
17+
*/
18+
public function generate(array $parameters): array;
19+
}

0 commit comments

Comments
 (0)