public function __construct($argument, IMapper $mapper = null) { parent::__construct($argument); $this->mapper = $mapper; $this->parseProperties(); $this->initGettersAndSetters(); }