protected function getOptions()
    {
        $options = $this->options ? $this->options->toArray() : [];

        if ($this->topic && !$this->topic->hasOnlyOneTopic()) {
            $options = array_merge($options, $this->topic->build());
        }

        return $options;
    }
protected function getOptions()
    {
        $options = $this->options ? $this->options->toArray() : [];

        if ($this->topic && !$this->topic->hasOnlyOneTopic()) {
            $options = array_merge($options, $this->topic->build());
        }

        return $options;
    }
protected function getOptions ( ) { $ options = $ this -> options ? $ this -> options -> toArray ( ) : [ ] ; if ( $ this -> topic && ! $ this -> topic -> hasOnlyOneTopic ( ) ) { $ options = array_merge ( $ options , $ this -> topic -> build ( ) ) ; } return $ options ; }
get Options transformed.

@return array
get Options transformed .