osb/app/Interfaces/ServiceItem.php

34 lines
519 B
PHP

<?php
namespace App\Interfaces;
use Carbon\Carbon;
interface ServiceItem
{
/**
* Return the Service Description.
*
* @return string
*/
public function getServiceDescriptionAttribute(): string;
/**
* Date the service expires
*/
public function getServiceExpireAttribute(): Carbon;
/**
* Return the Service Name.
*
* @return string
*/
public function getServiceNameAttribute(): string;
/**
* Is this service in a contract
*
* @return bool
*/
public function inContract(): bool;
}