class ConfigurationAssetModelMappingStrategy implements AssetModelMappingStrategyInterface (View source)

A mapping strategy based on configured expressions.

Properties

protected array $settings

Methods

initializeObject()

No description

string
map(PersistentResource $resource, array $additionalProperties = [])

Map the given resource to a media model class.

Details

initializeObject()

No description

string map(PersistentResource $resource, array $additionalProperties = [])

Map the given resource to a media model class.

Parameters

PersistentResource $resource
array $additionalProperties

Optional properties that can be taken into account for deciding the model class. what you get here can depend on the caller, so you should always fallback to something based on the resource.

Return Value

string

the determined target class name