ContentService::findReaderFor
Gets a content reader for the given store type over the asset given in assetName. This is used for finding if an asset is stored remotely or not
Returns NULL if that asset doesn't exist.
Signature
public function findReaderFor(string
$storeType,
string
$assetName,
[boolean
$remapToId = true] )
Parameters
$storeType
— string
The named store we're looking into$assetName
— string
The name of the asset to look up$remapToId
— boolean
Do we let the reader remap the name to how it represents asset paths? Or are
we looking up an already-mapped path name?
Returns
- ContentReader