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