PHP code example of denisok94 / doctrine-dql-operator
1. Go to this page and download the library: Download denisok94/doctrine-dql-operator 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/ */
denisok94 / doctrine-dql-operator example snippets
use Doctrine\ORM\Mapping as ORM;
use Denisok94\DoctrineDqlOperator\DBAL\Money;
class Entity
{
/**
* @ORM\Column(type="money")
* @var Money|null
*/
protected $budget;
/**
* @ORM\Column(type="timestampt")
* @var \DateTime|null
*/
protected $created_at;
/**
* @ORM\Column(type="timestamptz")
* @var \DateTime|null
*/
protected $updated_at;
}