DefaultFilenameMapper
class DefaultFilenameMapper implements FilenameMapperInterface (View source)
Default file name mapper.
Traits
SingletonTrait
Constants
| SAFE_IDENTIFIER_PATTERN |
Safe character list. If the identifier exclusively contains those character, the file name will corresponds to the identifier. |
Methods
string|array
getIdentifier(string $basename)
Get object identifier from a file system base file name
string
getBasename(string|array $identifier)
Get the file base name for the given object identifier