osb/app/Interfaces/ServiceUsage.php

23 lines
351 B
PHP
Raw Permalink Normal View History

<?php
namespace App\Interfaces;
use Illuminate\Support\Collection;
interface ServiceUsage
{
2022-04-20 06:24:58 +00:00
/**
* Our model that holds traffic information
*
* @return mixed
*/
public function traffic();
/**
* This service provides usage information
*
* @param int $days
* @return Collection
*/
public function usage(int $days): Collection;
}