ParserRegistry
Registry of file parsers
| since |
2.0 |
|---|---|
| package |
Joomla Framework |
Methods
add
Register a parser, overridding a previously registered parser for the given type
add(\Joomla\Language\ParserInterface parser) :
get
Get the parser for a given type
get( type) : \Joomla\Language\ParserInterface
has
Check if a parser is registered for the given type
has( type) :
| since |
2.0 |
|---|
Arguments
- type
stringThe parser type to check (typically the file extension)
Response
bool