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/tests/phpstan/doctrine-orm-bootstrap.php

11 lines
197 B

<?php
use Chamilo\Kernel;
require dirname(__DIR__).'/../vendor/autoload.php';
4 years ago
$kernel = new Kernel('dev', true);
$kernel->boot();
return $kernel->getContainer()->get('doctrine')->getManager();