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