1 2 3 4 5 6 7 8 9 10   /** * Set the default Presenter resolver. * * @param \Closure $resolver * @return void */ public static function presenter(Closure$resolver) { static::$presenterResolver =$resolver; } 

 1 2 3 4   // 设定分页主题 LengthAwarePaginator::presenter(function ($paginator) { return new AmazeuiThreePresenter($paginator); });