src/Http/Concerns/Transformable.php
protected function filterMetaType(string $name): void
    {
        $types = $this->options[$name] ?? $this->getRequest()->input($name);

        if (is_string($types)) {
            $types = explode(',', $types);
        }

        $this->options[$name] = is_array($types) ? Arr::expand(array_flip($types)) : [];
    }
protected function filterMetaType(string $name): void
    {
        $types = $this->options[$name] ?? $this->getRequest()->input($name);

        if (is_string($types)) {
            $types = explode(',', $types);
        }

        $this->options[$name] = is_array($types) ? Arr::expand(array_flip($types)) : [];
    }
protected function filterMetaType ( string $ name ) : void { $ types = $ this -> options [ $ name ] ?? $ this -> getRequest ( ) -> input ( $ name ) ; if ( is_string ( $ types ) ) { $ types = explode ( ',' , $ types ) ; } $ this -> options [ $ name ] = is_array ( $ types ) ? Arr :: expand ( array_flip ( $ types ) ) : [ ] ; }
Get option by group.

@param  string  $name

@return void
Get option by group .