I found a cool gif of a DVD drive used as a baby sitter. LOL!
I instinctively searched for a way to mess with the DVD drive in the command line. 83 more words
Markdown is a very powerful and easy syntax, used to create rich text through a plain text editor and to format ReadMe files. The latter are the “main introduction” to the source code gatherd in a GitHub repository as well, so writing that kind of files in the most accurate way is really really important. 219 more words
After composer requiring doctrine/migrations, you need to edit your cli-config.php. Here’s mine, with the new stuff added in bold.
<?php use Doctrine\ORM\Tools\Console\ConsoleRunner; use XYZ\XYZService; use XYZ\Test\XYZTesting; // This is just a dependency injection container $container = XYZTesting::getContainer(); /* Edit these details to suit $container['db.credentials'] = array( 'driver' => 'pdo_mysql', 'dbname' => 'twg', 'user' => 'dbuser', 'password' => '123', ]; */ // this is just my service which returns the entitymanager (requires the DIC above) $svc = new XYZService($container); $em = $svc->getEntityManager(); $helperSet = ConsoleRunner::createHelperSet($em); … 707 more words