I would like to create a custom Phalcon\Mvc\Model\Criteria that will be used when calling Model::query(); How can I inject it, or better define it in the DI so it will be used as default when creating a new Phalcon\Mvc\Model\Criteria object?
I would like to create a custom Phalcon\Mvc\Model\Criteria that will be used when calling Model::query(); How can I inject it, or better define it in the DI so it will be used as default when creating a new Phalcon\Mvc\Model\Criteria object?