Update header comments
This commit is contained in:
parent
bb382131cc
commit
24f3b1d701
70
build/update_header_comments.php
Normal file
70
build/update_header_comments.php
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$file_patterns = [
|
||||||
|
'src/*.php'
|
||||||
|
];
|
||||||
|
|
||||||
|
if ( ! function_exists('glob_recursive'))
|
||||||
|
{
|
||||||
|
// Does not support flag GLOB_BRACE
|
||||||
|
|
||||||
|
function glob_recursive($pattern, $flags = 0)
|
||||||
|
{
|
||||||
|
$files = glob($pattern, $flags);
|
||||||
|
|
||||||
|
foreach (glob(dirname($pattern) . '/*', GLOB_ONLYDIR | GLOB_NOSORT) as $dir)
|
||||||
|
{
|
||||||
|
$files = array_merge($files, glob_recursive($dir . '/' . basename($pattern), $flags));
|
||||||
|
}
|
||||||
|
|
||||||
|
return $files;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_text_to_replace($tokens)
|
||||||
|
{
|
||||||
|
if ($tokens[0][0] !== T_OPEN_TAG)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If there is already a docblock, as the second token after the
|
||||||
|
// open tag, get the contents of that token to replace
|
||||||
|
if ($tokens[1][0] === T_DOC_COMMENT)
|
||||||
|
{
|
||||||
|
return "<?php\n" . $tokens[1][1];
|
||||||
|
}
|
||||||
|
else if ($tokens[1][0] !== T_DOC_COMMENT)
|
||||||
|
{
|
||||||
|
return "<?php";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_tokens($source)
|
||||||
|
{
|
||||||
|
return token_get_all($source);
|
||||||
|
}
|
||||||
|
|
||||||
|
function replace_files(array $files, $template)
|
||||||
|
{
|
||||||
|
foreach ($files as $file)
|
||||||
|
{
|
||||||
|
$source = file_get_contents($file);
|
||||||
|
$tokens = get_tokens($source);
|
||||||
|
$text_to_replace = get_text_to_replace($tokens);
|
||||||
|
|
||||||
|
$header = file_get_contents(__DIR__ . $template);
|
||||||
|
$new_text = "<?php\n{$header}";
|
||||||
|
|
||||||
|
$new_source = str_replace($text_to_replace, $new_text, $source);
|
||||||
|
file_put_contents($file, $new_source);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach ($file_patterns as $glob)
|
||||||
|
{
|
||||||
|
$files = glob_recursive($glob);
|
||||||
|
replace_files($files, '/header_comment.txt');
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "Successfully updated headers \n";
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @author Timothy J. Warren
|
* PHP version 5.4
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
*
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @package Query
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @package Query
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Firebird;
|
namespace Query\Drivers\Firebird;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Firebird;
|
namespace Query\Drivers\Firebird;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Firebird;
|
namespace Query\Drivers\Firebird;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Firebird;
|
namespace Query\Drivers\Firebird;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Mysql;
|
namespace Query\Drivers\Mysql;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Mysql;
|
namespace Query\Drivers\Mysql;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Mysql;
|
namespace Query\Drivers\Mysql;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Pgsql;
|
namespace Query\Drivers\Pgsql;
|
||||||
|
@ -2,14 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @author Timothy J. Warren
|
* PHP version 5.4
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
*
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @package Query
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Pgsql;
|
namespace Query\Drivers\Pgsql;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Pgsql;
|
namespace Query\Drivers\Pgsql;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Sqlite;
|
namespace Query\Drivers\Sqlite;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Sqlite;
|
namespace Query\Drivers\Sqlite;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query\Drivers\Sqlite;
|
namespace Query\Drivers\Sqlite;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @author Timothy J. Warren
|
*
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @package Query
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,15 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @author Timothy J. Warren
|
* PHP version 5.4
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
*
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @package Query
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @package Query
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace Query;
|
namespace Query;
|
||||||
|
@ -2,16 +2,18 @@
|
|||||||
/**
|
/**
|
||||||
* Query
|
* Query
|
||||||
*
|
*
|
||||||
* Free Query Builder / Database Abstraction Layer
|
* SQL Query Builder / Database Abstraction Layer
|
||||||
*
|
*
|
||||||
* @package Query
|
* PHP version 5.4
|
||||||
* @subpackage Core
|
*
|
||||||
* @author Timothy J. Warren
|
* @package Query
|
||||||
* @copyright Copyright (c) 2012 - 2015
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
||||||
* @link https://github.com/aviat4ion/Query
|
* @copyright 2012 - 2015 Timothy J. Warren
|
||||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
|
* @link https://git.timshomepage.net/aviat4ion/Query
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
use Query\ConnectionManager;
|
use Query\ConnectionManager;
|
||||||
|
|
||||||
require __DIR__ . '/../vendor/autoload.php';
|
require __DIR__ . '/../vendor/autoload.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user