public function push(Model $model)
    {
        $this->models[$model->getType()][$model->getId()] = $model;
        return $this;
    }
public function push(Model $model)
    {
        $this->models[$model->getType()][$model->getId()] = $model;
        return $this;
    }
public function push ( Model $ model ) { $ this -> models [ $ model -> getType ( ) ] [ $ model -> getId ( ) ] = $ model ; return $ this ; }
Pushes a model into the memory cache.

@param   Model   $model
@return  self
Pushes a model into the memory cache .