product = $product; $this->category = $category; $this->price = $price; } /** * Returns count of product. * * @param array $filter * * @return int */ public function count() { return 0; } }