| 1 | <?php |
||
| 18 | class PhpInterface extends AbstractPhpStruct implements GenerateableInterface, ConstantsInterface { |
||
| 19 | |||
| 20 | use ConstantsPart; |
||
| 21 | use InterfacesPart; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Creates a PHP interface from file |
||
| 25 | * |
||
| 26 | * @param string $filename |
||
| 27 | * @return PhpInterface |
||
| 28 | */ |
||
| 29 | 2 | public static function fromFile(string $filename): self { |
|
| 39 | |||
| 40 | /** |
||
| 41 | * Create a new PHP interface |
||
| 42 | * |
||
| 43 | * @param string $name qualified name |
||
| 44 | */ |
||
| 45 | 8 | public function __construct($name = null) { |
|
| 50 | |||
| 51 | /** |
||
| 52 | * @inheritDoc |
||
| 53 | */ |
||
| 54 | 3 | public function generateDocblock(): void { |
|
| 61 | } |
||
| 62 |