Property | Type | Description | |
---|---|---|---|
$config | Zephir\Config | ||
$files | |||
$ignoreModifiers | array | Not php visible style variants |
Method | Description | |
---|---|---|
__construct ( array $files, Zephir\Config $config ) | ||
generate ( string $path ) | Generates stubs |
Method | Description | |
---|---|---|
buildClass ( |
Build class | |
buildConstant ( Zephir\ClassConstant $constant, string $indent ) : string | ||
buildMethod ( |
||
buildProperty ( |
Build property | |
wrapPHPValue ( $parameter ) : string | Prepare AST default value to PHP code print |
public __construct ( array $files, Zephir\Config $config ) | ||
$files | array | |
$config | Zephir\Config |
protected buildClass ( |
||
$class | ||
$indent | string | |
return | string |
protected buildConstant ( Zephir\ClassConstant $constant, string $indent ) : string | ||
$constant | Zephir\ClassConstant | |
$indent | string | |
return | string |
protected buildProperty ( |
||
$property | ||
$indent | string | |
return | string |
protected wrapPHPValue ( $parameter ) : string | ||
$parameter | ||
return | string |
protected array $ignoreModifiers | ||
return | array |