ParserFactory
class ParserFactory
Properties
static array<string,list<string>> | $parsers |
Methods
static bool
has(string $type, string $class)
Check if the metadata parser exists for the given type.
static void
extend(string $parserClass, string $type)
Add a new metadata parser to the list of known parsers.
Details
at line 24
static bool
has(string $type, string $class)
Check if the metadata parser exists for the given type.
at line 32
static void
extend(string $parserClass, string $type)
Add a new metadata parser to the list of known parsers.