implements Phalcon\Di\InjectionAwareInterface, Phalcon\Events\EventsAwareInterface
Source on GitHub
This components controls the initialization of models, keeping record of relations between the different models of the application. A CollectionManager is injected to a model via a Dependency Injector Container such as Phalcon\Di.
$di = new \Phalcon\Di();
$di->set('collectionManager', function(){
return new \Phalcon\Mvc\Collection\Manager();
});
$robot = new Robots($di);
Methods
pu