2022-07-16 01:40:44 +00:00
|
|
|
<?php
|
|
|
|
namespace Uiharu;
|
|
|
|
|
|
|
|
use Index\MediaType;
|
2023-07-06 23:08:31 +00:00
|
|
|
use Index\Colour\Colour;
|
2022-07-16 01:40:44 +00:00
|
|
|
|
|
|
|
interface ILookupResult {
|
|
|
|
function getUrl(): Url;
|
|
|
|
function getObjectType(): string;
|
|
|
|
|
|
|
|
function hasMediaType(): bool;
|
|
|
|
function getMediaType(): MediaType;
|
|
|
|
|
|
|
|
function hasColour(): bool;
|
2023-07-06 23:08:31 +00:00
|
|
|
function getColour(): Colour;
|
2022-07-16 01:40:44 +00:00
|
|
|
|
|
|
|
function hasTitle(): bool;
|
|
|
|
function getTitle(): string;
|
|
|
|
|
|
|
|
function hasSiteName(): bool;
|
|
|
|
function getSiteName(): string;
|
|
|
|
|
|
|
|
function hasDescription(): bool;
|
|
|
|
function getDescription(): string;
|
|
|
|
|
|
|
|
function hasPreviewImage(): bool;
|
|
|
|
function getPreviewImage(): string;
|
|
|
|
}
|