Lazy loading controllers in Phalcon\Mvc\Micro\Collection

I've read in docs that Phalcon\Mvc\Micro\Collection has the ability to lazy load controllers for better performance. I've tried two ways of doing this: setting the second parameter in constructor and using setLazy() method, but neither of them worked out. I get "Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Parameter 'definition' must be a string'". Can anybody, please, tell what's the problem? Is it Phalcon bug or?.. I'm using version 3.0.

i also have problem with Micro\Collection in php7 and new phalcon 3.0 but instead i got 502 bad gateway..

edited Jul '16

And your code is where ? Post some example which is not working.

Ah, I've found... Of course, the first argument should be a string, when second is used. I even thought how it is lazy, if I'm instantiating controller (-: I should make a break to see my mistake... (And I'm JS-developer)

$collection = new Collection ();
$collection->setHandler ('App\Controllers\MyController');
$collection->setLazy (true);


$collection = new Collection ();
$collection->setHandler ('App\Controllers\MyController', true);

I'm sorry for the disturbance.