Ivan Filatov

Results 3 comments of Ivan Filatov
trafficstars

I have found a way to use Symfony DI Container in Functional Helper. In any helper method just use $this->moduleContainer->getModule('Symfony')->kernel->getContainer() Tested on Symfony 4.1.1, Codeception 2.4.4. UPD 03.03.2020: Functional Helper:...

Obviously, fist page for users is 1, and for programmers it's 0, because of $page is used for offset part of query. https://github.com/yiisoft/yii2/blob/master/framework/data/Pagination.php#L297 I see two ways, or programmer knows...

I want to warn, that personally I, and, I think, many others, that already write -1, will get BC break if it will accept page number.