\Automap\BuildParserInterface

Summary

Methods
Constants
parseExtension()
parseScriptFile()
parseScript()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

parseExtension()

parseExtension(string  $file) : null

Extracts symbols from an extension

Parameters

string $file

Extension name

Throws

\Exception

if extension cannot be loaded

Returns

null

parseScriptFile()

parseScriptFile(string  $path) : array

Extracts symbols from a PHP script file

Parameters

string $path

File to parse

Throws

\Exception

on parse error

Returns

array —

of symbols

parseScript()

parseScript(string  $buf) : null

Extracts symbols from a PHP script contained in a string

Parameters

string $buf

The script to parse

Throws

\Exception

on parse error

Returns

null