Method | Description | |
---|---|---|
map ( |
Map the given resource to a media model class. |
public map ( |
||
$resource | ||
$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 | the determined target class name |