public function includes($includes)
    {
        if (is_string($includes)) {
            $includes = explode(',', $includes);
        }

        // when autoload is enable, we need to merge user requested includes with the predefined includes.
        if ($this->autoload and $this->request->get($this->input_key)) {
            $includes = array_merge($includes, explode(',', $this->request->get($this->input_key)));
        }

        $this->manager->parseIncludes($includes);

        return $this;
    }
public function includes($includes)
    {
        if (is_string($includes)) {
            $includes = explode(',', $includes);
        }

        // when autoload is enable, we need to merge user requested includes with the predefined includes.
        if ($this->autoload and $this->request->get($this->input_key)) {
            $includes = array_merge($includes, explode(',', $this->request->get($this->input_key)));
        }

        $this->manager->parseIncludes($includes);

        return $this;
    }
public function includes ( $ includes ) { if ( is_string ( $ includes ) ) { $ includes = explode ( ',' , $ includes ) ; } // when autoload is enable, we need to merge user requested includes with the predefined includes. if ( $ this -> autoload and $ this -> request -> get ( $ this -> input_key ) ) { $ includes = array_merge ( $ includes , explode ( ',' , $ this -> request -> get ( $ this -> input_key ) ) ) ; } $ this -> manager -> parseIncludes ( $ includes ) ; return $ this ; }
includes sub level data transformer.

@param string|array $includes

@return $this
includes sub level data transformer .