src/Transformer/Adapter/Fractal.php
public function parseFractalIncludes(Request $request)
    {
        $includes = $request->input($this->includeKey);

        if (! is_array($includes)) {
            $includes = array_map('trim', array_filter(explode($this->includeSeparator, $includes)));
        }

        $this->fractal->parseIncludes($includes);
    }
public function parseFractalIncludes(Request $request)
    {
        $includes = $request->input($this->includeKey);

        if (! is_array($includes)) {
            $includes = array_map('trim', array_filter(explode($this->includeSeparator, $includes)));
        }

        $this->fractal->parseIncludes($includes);
    }
public function parseFractalIncludes ( Request $ request ) { $ includes = $ request -> input ( $ this -> includeKey ) ; if ( ! is_array ( $ includes ) ) { $ includes = array_map ( 'trim' , array_filter ( explode ( $ this -> includeSeparator , $ includes ) ) ) ; } $ this -> fractal -> parseIncludes ( $ includes ) ; }
Parse the includes.

@param \Dingo\Api\Http\Request $request

@return void
Parse the includes .