[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
xampp182
/
phpMyAdmin
/
vendor
/
phpmyadmin
/
sql-parser
/
src
/
Components
/
[
Home
]
File: UnionKeyword.php
<?php /** * `UNION` keyword builder. */ namespace PhpMyAdmin\SqlParser\Components; use PhpMyAdmin\SqlParser\Component; /** * `UNION` keyword builder. * * @category Keywords * * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+ */ class UnionKeyword extends Component { /** * @param UnionKeyword[] $component the component to be built * @param array $options parameters for building * * @return string */ public static function build($component, array $options = array()) { $tmp = array(); foreach ($component as $component) { $tmp[] = $component[0] . ' ' . $component[1]; } return implode(' ', $tmp); } }