interface DetailControllerInterface (View source)

Controllers that display a single record must implement this interface.

Methods

Response
record($slugOrId, string|null $contentTypeSlug, bool $requirePublished)

No description

Details

Response record($slugOrId, string|null $contentTypeSlug, bool $requirePublished)

Parameters

$slugOrId
string|null $contentTypeSlug
bool $requirePublished

Return Value

Response