/** * Initializes some variables and also starts the initialization of the parent class. * * @return void */ public function init() { parent::init(); $this->id = (int) $this->id; }