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