public function addPresenter(string $key, PresenterContract $presenter): self
    {
        $this->presenter[$key] = $presenter;

        return $this;
    }
public function addPresenter(string $key, PresenterContract $presenter): self
    {
        $this->presenter[$key] = $presenter;

        return $this;
    }
public function addPresenter ( string $ key , PresenterContract $ presenter ) : self { $ this -> presenter [ $ key ] = $ presenter ; return $ this ; }
Add a new presenter.

@param string                                           $key
@param \Viserio\Component\Contract\Pagination\Presenter $presenter

@return $this
Add a new presenter .