Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/cli-config.php

23 lines
488 B

<?php
/* For licensing terms, see /license.txt */
/**
* Script needed to execute bin/doctrine.php in the command line
* in order to:
*
* - Generate migrations
* - Create schema
* - Update schema
* - Validate schema
* - Etc
**/
use Doctrine\ORM\Tools\Console\ConsoleRunner;
require_once 'main/inc/global.inc.php';
// replace with mechanism to retrieve EntityManager in your app
$entityManager = Database::getManager();
return ConsoleRunner::createHelperSet($entityManager);