diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2015-06-30 01:05:38 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2015-06-30 01:05:38 +0300 |
commit | a2354cf85acd032efa374d1f9f611f02fdbe75f6 (patch) | |
tree | 3094a3144239860cb72c2f0871660a3f7c862e53 /src/Fragment.php | |
parent | 5f15789bd325c4fcd6642ecfeea18a5b639acc99 (diff) | |
download | sql-parser-a2354cf85acd032efa374d1f9f611f02fdbe75f6.zip sql-parser-a2354cf85acd032efa374d1f9f611f02fdbe75f6.tar.gz sql-parser-a2354cf85acd032efa374d1f9f611f02fdbe75f6.tar.bz2 |
Added statement builder (converts statement trees into executable query strings).
Implemented support for UNIONs in parser.
Code coverage is now over 99%.
Fixed CHECKSUM statement (typos).
Refactored code. Removed pieces of duplicated code.
Improved documentation and fixed coding style.
Improved PHPUnit's configuration (more test suites for fine-grained testing).
Diffstat (limited to 'src/Fragment.php')
-rw-r--r-- | src/Fragment.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Fragment.php b/src/Fragment.php index a9a349a..6ae85da 100644 --- a/src/Fragment.php +++ b/src/Fragment.php @@ -38,4 +38,15 @@ abstract class Fragment return null; } + /** + * Builds the string representation of a fragment of this type. + * + * @param Fragment $fragment The fragment to be built. + * + * @return string + */ + public static function build(Fragment $fragment) + { + return null; + } } |