<?php namespace Zing\Bandwidth; use User; class Bandwidths { /** * $bandwidth object. */ protected $bandwidth; /** * Constructor. */ public function __construct(\Zing\Bandwidth\Interfaces\BandwidthRepositoryInterface $bandwidth) { $this->bandwidth = $bandwidth; } /** * Returns count of bandwidth. * * @param array $filter * * @return int */ public function count() { return 0; } /** * Find bandwidth by slug. * * @param array $filter * * @return int */ public function bandwidth($slug) { return $this->bandwidth ->findBySlug($slig) ->toArray(); } }