EntryDetailController
in package
implements
IController
Table of Contents
Interfaces
Properties
- $auth : AuthComponent
- $entryDetailMapper : EntryDetailMapper
- $entryService : EntryService
- $hashIds : Hashids
- $request : Request
- $response : IResponse
Methods
- __construct() : mixed
- EntryDetailController constructor.
- getEntryDetailByHashIdAction() : object
- getEntryDetailByIdAction() : object
Properties
$auth
private
AuthComponent
$auth
$entryDetailMapper
private
EntryDetailMapper
$entryDetailMapper
$entryService
private
EntryService
$entryService
$hashIds
private
Hashids
$hashIds
$request
private
Request
$request
$response
private
IResponse
$response
Methods
__construct()
EntryDetailController constructor.
public
__construct(Request $request, IResponse $response, AuthComponent $authComponent, EntryService $entryService, EntryDetailMapper $entryDetailMapper, Hashids $hashIds) : mixed
Parameters
- $request : Request
- $response : IResponse
- $authComponent : AuthComponent
- $entryService : EntryService
- $entryDetailMapper : EntryDetailMapper
- $hashIds : Hashids
getEntryDetailByHashIdAction()
public
getEntryDetailByHashIdAction(string $entryHashId) : object
Parameters
- $entryHashId : string
Tags
Return values
objectgetEntryDetailByIdAction()
public
getEntryDetailByIdAction(int $entryId) : object
Parameters
- $entryId : int