init() public method

If you override this method, make sure you call the parent implementation first.
public init ( )
 /**
  * Initializes the widget.
  * If you override this method, make sure you call the parent implementation first.
  */
 public function init()
 {
     //checks for the element id
     if (!isset($this->options['id'])) {
         $this->options['id'] = $this->getId();
     }
     //checks for the element id
     if (!isset($this->options['class'])) {
         $this->options['class'] = 'fullcalendar';
     }
     parent::init();
 }
 /**
  *
  * See vendor/philippfrenzel/yii2fullcalendar/yii2fullcalendar.php
  * for implementation details.
  *
  */
 public function init()
 {
     parent::init();
 }