ContentAreaCollection implements ContainerInterface, IteratorAggregate

Read onlyYes
FinalYes

Collection of content areas

Internal
Tags
implements

Table of Contents

Interfaces

ContainerInterface
IteratorAggregate

Methods

__construct()  : mixed
get()  : ContentArea
getGroupedRecords()  : array<string|int, mixed>
getIterator()  : Traversable<string, ContentArea>
has()  : bool
withRequest()  : self
withUpdatedRecords()  : self

Methods

__construct()

public __construct(array<string|int, mixed> $contentAreas[, ServerRequestInterface|null $request = null ]) : mixed
Parameters
$contentAreas : array<string|int, mixed>
$request : ServerRequestInterface|null = null

getGroupedRecords()

public getGroupedRecords(ServerRequestInterface $request) : array<string|int, mixed>
Parameters
$request : ServerRequestInterface
Internal

Only for AfterContentHasBeenFetchedEvent

Return values
array<string|int, mixed>

has()

public has(string $id) : bool
Parameters
$id : string
Return values
bool

withRequest()

public withRequest(ServerRequestInterface $request) : self
Parameters
$request : ServerRequestInterface
Return values
self

withUpdatedRecords()

public withUpdatedRecords(array<string|int, mixed> $groupedRecords) : self
Parameters
$groupedRecords : array<string|int, mixed>
Internal

Only for AfterContentHasBeenFetchedEvent

Return values
self

        
On this page

Search results