Skip to content

Commit 8ac14b1

Browse files
committed
add ICodeGeneratorProvider
1 parent a6ce469 commit 8ac14b1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 ICodeGeneratorProvider
13+
{
14+
/**
15+
* Get the generator name
16+
*/
17+
public function getName(): string;
18+
19+
/**
20+
* Get the generator description
21+
*/
22+
public function getDescription(): string;
23+
24+
/**
25+
* Get the code generator
26+
*/
27+
public function getGenerator(): ICodeGenerator;
28+
}

0 commit comments

Comments
 (0)