public function setCalendarConfig($arg1, $arg2 = null)
    {
        if (is_array($arg1)) {
            $this->calendarConfig = $arg1;
        } else {
            $this->calendarConfig[$arg1] = $arg2;
        }
        
        return $this;
    }
public function setCalendarConfig($arg1, $arg2 = null)
    {
        if (is_array($arg1)) {
            $this->calendarConfig = $arg1;
        } else {
            $this->calendarConfig[$arg1] = $arg2;
        }
        
        return $this;
    }
public function setCalendarConfig ( $ arg1 , $ arg2 = null ) { if ( is_array ( $ arg1 ) ) { $ this -> calendarConfig = $ arg1 ; } else { $ this -> calendarConfig [ $ arg1 ] = $ arg2 ; } return $ this ; }
Defines either the named calendar config value, or the calendar config array.

@param string|array $arg1
@param string $arg2

@return $this
Defines either the named calendar config value or the calendar config array .