CoolCMS API

LoginProviderMapper extends ApiMapper
in package

FinalYes

Front mapper that hydrates Api repository data into entities.

Tags
extends

Table of Contents

Properties

$hydrator  : EntityHydrator
$repository  : LoginProviderRepository

Methods

__construct()  : mixed
find()  : T|null
findAll()  : T>, 1: int}
findBy()  : T|null
oauthConfig()  : array<string, mixed>
Pass-through; the payload is deliberately not hydrated into an entity. It is Hybridauth configuration, not a record, and hydration would make a `LoginProvider` with the rest of the fields empty that someone could save by mistake.
getEntityClass()  : T>
initalizeEntity()  : LoginProvider|null

Properties

Methods

find()

public find(int $pageId[, string|array<string|int, mixed> $includes = [] ][, bool|null $useCache = null ]) : T|null
Parameters
$pageId : int
$includes : string|array<string|int, mixed> = []
$useCache : bool|null = null
Return values
T|null

findAll()

public findAll([array<string|int, mixed>|null $filters = [] ][, array<string|int, mixed>|null $orderBys = null ][, int|null $offset = null ][, int|null $limit = null ][, array<string|int, mixed>|null $columns = null ][, bool $computeTotalCount = false ][, string|array<string|int, mixed> $includes = [] ][, bool|null $useCache = null ]) : T>, 1: int}
Parameters
$filters : array<string|int, mixed>|null = []
$orderBys : array<string|int, mixed>|null = null
$offset : int|null = null
$limit : int|null = null
$columns : array<string|int, mixed>|null = null
$computeTotalCount : bool = false
$includes : string|array<string|int, mixed> = []
$useCache : bool|null = null
Return values
T>, 1: int}

findBy()

public findBy([array<string|int, mixed>|null $filters = [] ][, string|array<string|int, mixed> $includes = [] ][, bool|null $useCache = null ]) : T|null
Parameters
$filters : array<string|int, mixed>|null = []
$includes : string|array<string|int, mixed> = []
$useCache : bool|null = null
Return values
T|null

oauthConfig()

Pass-through; the payload is deliberately not hydrated into an entity. It is Hybridauth configuration, not a record, and hydration would make a `LoginProvider` with the rest of the fields empty that someone could save by mistake.

public oauthConfig(string $key) : array<string, mixed>
Parameters
$key : string
Return values
array<string, mixed>
On this page

Search results