File: cli-config.php

package info (click to toggle)
php-doctrine-dbal 2.5.4-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,908 kB
  • ctags: 4,509
  • sloc: php: 21,245; makefile: 26
file content (9 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
<?php
use Doctrine\DBAL\Tools\Console\ConsoleRunner;

// replace with the mechanism to retrieve DBAL connection in your app
$connection = \Doctrine\DBAL\DriverManager::getConnection(['driver' => 'pdo_sqlite']);

// You can append new commands to $commands array, if needed

return ConsoleRunner::createHelperSet($connection);