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