<?php namespace Article\Article; class Article { /** * $article object. */ protected $article; /** * $category object. */ protected $category; /** * Constructor. */ public function __construct(\Article\Article\Interfaces\ArticleRepositoryInterface $article, \Article\Article\Interfaces\CategoryRepositoryInterface $category) { $this->article = $article; $this->category = $category; } /** * Returns count of article. * * @param array $filter * * @return int */ public function count() { return 0; } }