public function display()
    {
        if ($this->label_translated) {
            return cms_trans($this->label_translated);
        }

        if ($this->label) {
            return $this->label;
        }

        return snake_case($this->method, ' ');
    }
public function display()
    {
        if ($this->label_translated) {
            return cms_trans($this->label_translated);
        }

        if ($this->label) {
            return $this->label;
        }

        return snake_case($this->method, ' ');
    }
public function display ( ) { if ( $ this -> label_translated ) { return cms_trans ( $ this -> label_translated ) ; } if ( $ this -> label ) { return $ this -> label ; } return snake_case ( $ this -> method , ' ' ) ; }
Returns display text for the scope.

@return string
Returns display text for the scope .