public renderFile ( |
||
$entity | the entity to render the file from | |
$entityName | string | the name of the entity as this class here is not aware of it |
$field | string | the field of the entity containing the file to be rendered |
return | the HTTP response, likely to be a streamed one |