Advertisement
Eddz

Untitled

Sep 11th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2. use Doctrine\ORM\Tools\Console\ConsoleRunner;
  3.  
  4. // replace with file to your own project bootstrap
  5. require_once 'bootstrap.php';
  6.  
  7. // replace with mechanism to retrieve EntityManager in your app
  8. $entityManager = GetEntityManager();
  9.  
  10. return ConsoleRunner::createHelperSet($entityManager);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement