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

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

        $this->manager->parseExcludes($excludes);

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

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

        $this->manager->parseExcludes($excludes);

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

@param string|array $excludes

@return $this
excludes sub level from data transformer .