Stéphane PY
Stéphane PY
$lastyear = new \DatePeriod(new \DateTime('......'), new \DateTime('P1M'), new \DateTime('......')); ``` php $bitter->getStats('action', $datePeriod); ``` We have to override DatePeriod to get end date and to add some options.
I'm +1 on @shouze comment: > bitDatePeriod needs to be renamed into bitDateRange as it looks confusing ATM > A new method needs to be introduced, something like countByPeriodWithInterval(\DateTime $from,...
On second point. Why does not use `countByPeriod(\DatePeriod $datePeriod)` ?
Yes, let's overwrite it :)
Hi, Did you activate the bundle into your `dev` environment or only in test environment ?
Did you registered many entityManagers ? Looks something like that ...
Hi, Never had this issue. I never used XHGUI :\ Seems to be an issue with xhprof client, not related to this bundle i think. I hope somebody here will...
Support of theses 2 providers would be cool :)
Any thoughts ?
I don't understand, you want to merge ruler and math grammar to support thinkgs like `(2 + user.nb_vote) > context.minimum_vote_to_win` ?