Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Neos
Flow
ResourceManagement
PersistentResource
setMediaType
Neos\Flow\ResourceManagement\PersistentResource::setMediaType PHP Method
PersistentResource Class Documentation
Datei anzeigen
Open project: neos/flow-development-collection
setMediaType()
public
method
Explicitly sets the Media Type for this resource
public
setMediaType
(
string
$mediaType
) :
void
$mediaType
string
The IANA Media Type
return
void
public function setMediaType($mediaType) { $this->mediaType = $mediaType; }
PersistentResource
__toString
createTemporaryLocalCopy
disableLifecycleEvents
getCacheEntryIdentifier
getCollectionName
getFileExtension
getFileSize
getFilename
getHash
getMd5
getMediaType
getRelativePublicationPath
getResourcePointer
getSha1
getStream
initializeObject
isDeleted
postPersist
preRemove
setCollectionName
setDeleted
setFileSize
setFilename
setHash
setMd5
setMediaType
setRelativePublicationPath
setResourcePointer
setSha1
shutdownObject
throwExceptionIfProtected