order = $order; } /** * Returns count of order. * * @param array $filter * * @return int */ public function count() { return 0; } /** * Find order by slug. * * @param array $filter * * @return int */ public function order($slug) { return $this->order ->findBySlug($slig) ->toArray(); } }