How work getHasManyRecords ?

Hi. I found method getHasManyRecords in Phalcon\Mvc\Model\Manager. But I can't understand how it work, what is "string $method"? May be anybody can show example ?



83.4k

This method is not intended to obtain related records from a model, check the relationships chapter in the docs: http://docs.phalconphp.com/en/latest/reference/models.html#relationships-between-models