/**
  * @param $filters array Filter to apply to the collection
  * @return ArticleCollection
  */
 public function all($filters)
 {
     $collection = $this->filter(Article::online(), $filters);
     if (isset($filters['data']) && $filters['data'] == 'collection') {
         return $collection->get();
     }
     return $this->paginate($collection->paginate(isset($filters['per_page']) ? $filters['per_page'] : ArticleCollection::$defaultPerPage));
 }