ParserFile
Less than 1 minute
ParserFile
Properties
source
private string $source
size
private int $size
constants
private array $constants
functions
private array $functions
interfaces
private array $interfaces
classes
private array $classes
Methods
__construct
public __construct({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$filename | string |
getSource
Returns the source file path.
public getSource({Array})
getSize
Returns the size of the file in bytes.
public getSize({Array})
getConstants
Returns an array of constants defined in the file.
public getConstants({Array})
getFunctions
Returns an array of functions defined in the file.
public getFunctions({Array})
getInterfaces
Returns an array of interfaces defined in the file.
public getInterfaces({Array})
getClasses
Returns an array of classes defined in the file.
public getClasses({Array})
getDocBlock
public getDocBlock({Array})
fixTokenArray
private fixTokenArray({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$tokens | array |
Generated by Hazaar API Doc Generator