CoolCMS API

SessionMapper extends BaseMapper
in package

AbstractYes

Admin counterpart of {@see \App\Core\Base\Front\Models\Mappers\SessionMapper}.

Exists for the same reason as the admin ApiMapper/ApiRepository: each module loads its base from its own namespace. The only responsibility is building an entity from a session row.

Table of Contents

Methods

__construct()  : mixed
initalizeEntity()  : BaseEntity|null

Methods

initalizeEntity()

protected abstract initalizeEntity(array<string, mixed> $row) : BaseEntity|null
Parameters
$row : array<string, mixed>
Return values
BaseEntity|null
On this page

Search results