public function relationsToArray(){
        $snakeAttributes = null;
        if (isset($this->ddvSnakeAttributes)&&is_bool($this->ddvSnakeAttributes)){
            $snakeAttributes = static::$snakeAttributes;
            static::$snakeAttributes = $this->ddvSnakeAttributes;
        }
        $res = parent::relationsToArray();
        is_null($snakeAttributes) || (static::$snakeAttributes = $snakeAttributes);
        return $res;
    }
public function relationsToArray(){
        $snakeAttributes = null;
        if (isset($this->ddvSnakeAttributes)&&is_bool($this->ddvSnakeAttributes)){
            $snakeAttributes = static::$snakeAttributes;
            static::$snakeAttributes = $this->ddvSnakeAttributes;
        }
        $res = parent::relationsToArray();
        is_null($snakeAttributes) || (static::$snakeAttributes = $snakeAttributes);
        return $res;
    }
public function relationsToArray ( ) { $ snakeAttributes = null ; if ( isset ( $ this -> ddvSnakeAttributes ) && is_bool ( $ this -> ddvSnakeAttributes ) ) { $ snakeAttributes = static :: $ snakeAttributes ; static :: $ snakeAttributes = $ this -> ddvSnakeAttributes ; } $ res = parent :: relationsToArray ( ) ; is_null ( $ snakeAttributes ) || ( static :: $ snakeAttributes = $ snakeAttributes ) ; return $ res ; }
Get the model's relationships in array form.

@return array
Get the model s relationships in array form .