class ContentDimensionRepository (View source)

A repository for access to available content dimensions (from configuration)

Properties

protected array $dimensionsConfiguration

Methods

findAll()

Returns an array of content dimensions that are available in the system.

void
setDimensionsConfiguration(array $dimensionsConfiguration)

Set the content dimensions available in the system.

Details

ContentDimension[] findAll()

Returns an array of content dimensions that are available in the system.

Return Value

ContentDimension[]

void setDimensionsConfiguration(array $dimensionsConfiguration)

Set the content dimensions available in the system.

Parameters

array $dimensionsConfiguration

Return Value

void