Hallo liebe Community,
ich würde gerne auf der Detailseite die Werte "street", "zipcode" und "city" ausgeben.
Dabei erhalte ich die Fehlermedung "Cannot access private property JanoschOltmanns\ContaoSimpleJobsBundle\Entity\Loca tion::$street".
Wie komme ich dann diese Werte ran?
Code:
"locations" => array:1 [?
0 => JanoschOltmanns\ContaoSimpleJobsBundle\Entity\Location {#1533 ?
-contaoModel: JanoschOltmanns\ContaoSimpleJobsBundle\Contao\Models\SimpleJobsLocationModel {#1623 ?}
-street: "Nikolaus-Meeth-Str. 1"
-zipcode: "54528"
-city: "Salmtal"
-region: ""
-country: "DE"
}
]
Grüße
Dirk
Lesezeichen