This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Db | |
{ | |
public function batchInsert($table, array $rows, array $columns = array()) | |
{ | |
// Is array empty? Nothing to insert! | |
if (empty($rows)) { | |
return true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file allow to test that the console wideness influence | |
* the way the console output is displayed | |
*/ | |
namespace Symfony\Component\Console\Tests\Tester; | |
use Symfony\Component\Console\Application; |