libasynql  3.2.0
Asynchronous MySQL access library for PocketMine plugins.
GenericStatementFileParser Class Reference

Public Member Functions

 __construct (?string $fileName, $fh)
 
 parse ()
 
 getResults ()
 

Detailed Description

Definition at line 41 of file GenericStatementFileParser.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( ?string  $fileName,
  $fh 
)
Parameters
string | null$fileName
resource$fh

Definition at line 69 of file GenericStatementFileParser.php.

Member Function Documentation

◆ getResults()

getResults ( )
Returns
GenericStatement[]

Definition at line 95 of file GenericStatementFileParser.php.

◆ parse()

parse ( )

Parses the file, and closes the stream.

Exceptions
GenericStatementFileParseExceptionif the file contains a syntax error or compile error

Definition at line 79 of file GenericStatementFileParser.php.


The documentation for this class was generated from the following file: