class ParserFactory

Properties

static array $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 21
static bool has(string $type, string $class)

Check if the metadata parser exists for the given type.

Parameters

string $type
string $class

Return Value

bool

at line 29
static void extend(string $parserClass, string $type)

Add a new metadata parser to the list of known parsers.

Parameters

string $parserClass
string $type

Return Value

void