public function endObject(Model $model)
    {
        $this->objects[] = $this->dumpObject($model);
        $this->_fields = null;
    }
public function endObject(Model $model)
    {
        $this->objects[] = $this->dumpObject($model);
        $this->_fields = null;
    }
public function endObject ( Model $ model ) { $ this -> objects [ ] = $ this -> dumpObject ( $ model ) ; $ this -> _fields = null ; }
Invoked when ending the serial representation of an item starts.

@return mixed

@since  1.1.0

@author Eddilbert Macharia (http://eddmash.com) <edd.cowan@gmail.com>
Invoked when ending the serial representation of an item starts .