src/Parameters.php
public function getFields()
    {
        $fields = $this->getInput('fields');

        if (! is_array($fields)) {
            return [];
        }

        return array_map(function ($fields) {
            return explode(',', $fields);
        }, $fields);
    }
public function getFields()
    {
        $fields = $this->getInput('fields');

        if (! is_array($fields)) {
            return [];
        }

        return array_map(function ($fields) {
            return explode(',', $fields);
        }, $fields);
    }
public function getFields ( ) { $ fields = $ this -> getInput ( 'fields' ) ; if ( ! is_array ( $ fields ) ) { return [ ] ; } return array_map ( function ( $ fields ) { return explode ( ',' , $ fields ) ; } , $ fields ) ; }
Get the fields requested for inclusion.

@return array
Get the fields requested for inclusion .