<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
derhaeuptling / contao-immobilienscout24-import-bundle example snippets
/** var Derhaeuptling\ContaoImmoscout24\Entity\RealEstate $realEstate */
$realEstate
$this->attributes
// array [name => label] of publicly accessible fields of the real estate objects
// e.g. 'descriptionNote' that can be accessed via $realEstate->descriptionNote
$this->hasData(RealEstate $realEstate, string $attribute) : bool
// will return wether $realEstate holds data for the $attribute
$this->getFormatted(RealEstate $realEstate, string $attribute) : string
// will return the formatted value of $attribute - enumerations, dates and
// booleans will resolved to a string representation based on the language
// files