PHP code example of dontdrinkandroot / doctrine-bundle
1. Go to this page and download the library: Download dontdrinkandroot/doctrine-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dontdrinkandroot / doctrine-bundle example snippets
$query->setParameter('createdAt', $instant); // just works
$query->setParameter('createdAt', $instant, 'instant'); // still works, never converted twice