Can't you just do this?
$house->getPostalcode->deviation_pc
You should also read the documentation on relationships and accessors because your method names don't follow standard naming conventions.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community