| 1 | <?php |
||
| 16 | class PhpInterface extends AbstractPhpStruct implements GenerateableInterface, ConstantsInterface { |
||
| 17 | |||
| 18 | use ConstantsPart; |
||
| 19 | use InterfacesPart; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Creates a PHP interface from file |
||
| 23 | * |
||
| 24 | * @param string $filename |
||
| 25 | * @return PhpInterface |
||
| 26 | */ |
||
| 27 | 2 | public static function fromFile($filename) { |
|
| 37 | |||
| 38 | /** |
||
| 39 | * Create a new PHP interface |
||
| 40 | * |
||
| 41 | * @param string $name qualified name |
||
| 42 | */ |
||
| 43 | 10 | public function __construct($name = null) { |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @inheritDoc |
||
| 51 | */ |
||
| 52 | 3 | public function generateDocblock() { |
|
| 59 | } |
||
| 60 |