PHP Class Neos\Media\Domain\Strategy\ConfigurationAssetModelMappingStrategy

Inheritance: implements Neos\Media\Domain\Strategy\AssetModelMappingStrategyInterface
Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$settings array

Public Methods

Method Description
initializeObject ( )
map ( PersistentResource $resource, array $additionalProperties = [] ) : string Map the given resource to a media model class.

Method Details

initializeObject() public method

public initializeObject ( )

map() public method

Map the given resource to a media model class.
public map ( PersistentResource $resource, array $additionalProperties = [] ) : string
$resource Neos\Flow\ResourceManagement\PersistentResource
$additionalProperties array 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 string

Property Details

$settings protected property

protected array $settings
return array