I have a company collection with a embed address object.
class Company extends Collection
{
/**
* @var \Collection\Address
*/
public $address;
...
class Address
{
...
When i fetch a company the address
property is a array of properties and not a Address
object. How can i map this in phalcon?