• Full name: \App\Infrastructure\Http\Controllers\AdminContentController
  • Parent class: BaseController
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Methods

contentCreate

public contentCreate(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\ContentService $service, string $contentTypeSlug): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$service \App\Infrastructure\Services\Content\ContentService
$contentTypeSlug string

Throws:


contentCreateView

public contentCreateView(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\ContentService $service, string $contentTypeSlug): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$service \App\Infrastructure\Services\Content\ContentService
$contentTypeSlug string

Throws:


contentChange

public contentChange(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\ContentService $service, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$service \App\Infrastructure\Services\Content\ContentService
$contentId string

Throws:


contentView

public contentView(\App\Infrastructure\Services\Content\ContentService $service, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$service \App\Infrastructure\Services\Content\ContentService
$contentId string

Throws:


contentViewByType

public contentViewByType(string $contentTypeSlug): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$contentTypeSlug string

Throws:


removeFeaturedImage

public removeFeaturedImage(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\ContentService $service, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$service \App\Infrastructure\Services\Content\ContentService
$contentId string

Throws:


contentDelete

public contentDelete(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\ContentService $service, string $contentId, string $contentTypeSlug): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$service \App\Infrastructure\Services\Content\ContentService
$contentId string
$contentTypeSlug string

Throws: