osb/app/Interfaces/ServiceItem.php

34 lines
519 B
PHP
Raw Normal View History

2020-02-05 04:47:24 +00:00
<?php
namespace App\Interfaces;
use Carbon\Carbon;
2020-02-05 04:47:24 +00:00
interface ServiceItem
{
/**
* Return the Service Description.
*
* @return string
*/
2020-04-01 12:35:06 +00:00
public function getServiceDescriptionAttribute(): string;
2020-02-05 04:47:24 +00:00
/**
* Date the service expires
*/
public function getServiceExpireAttribute(): Carbon;
2020-02-05 04:47:24 +00:00
/**
* Return the Service Name.
*
* @return string
*/
2020-04-01 12:35:06 +00:00
public function getServiceNameAttribute(): string;
2020-02-19 12:37:45 +00:00
/**
* Is this service in a contract
*
* @return bool
*/
public function inContract(): bool;
2020-02-05 04:47:24 +00:00
}