/**
  * @param null $perPage
  * @param bool $all
  * @return mixed
  */
 public function paginate($page = 1, $limit = 10, $all = false)
 {
     return $this->article->paginate($page, $limit, $all);
 }
 /**
  * @param $view
  */
 public function compose($view)
 {
     $articles = $this->article->getLastArticle(3);
     $view->with('articles', $articles);
 }