QCharts/CoreBundle/Entity/QueryRequest.php
public function setDateCreated($dateCreated = null)
    {
        if (is_null($dateCreated))
        {
            $this->dateCreated = new \DateTime('now');
            return $this;
        }
        $this->dateCreated = $dateCreated;
        return $this;
    }
public function setDateCreated($dateCreated = null)
    {
        if (is_null($dateCreated))
        {
            $this->dateCreated = new \DateTime('now');
            return $this;
        }
        $this->dateCreated = $dateCreated;
        return $this;
    }
Set dateCreated

@param \DateTime $dateCreated

@return QueryRequest