TypeMapper
class TypeMapper
Class to map between RDF Types and PHP Classes
Methods
static string
get(string $type)
Get the registered class for an RDF type
static string
set(string $type, string $class)
Register an RDF type with a PHP Class name
static
delete(string $type)
Delete an existing RDF type mapping.
static string
getDefaultResourceClass()
No description
static string
setDefaultResourceClass(string $class)
Sets the default resource class
Details
at line 63
static string
get(string $type)
Get the registered class for an RDF type
If a type is not registered, then this method will return null.
at line 87
static string
set(string $type, string $class)
Register an RDF type with a PHP Class name
at line 112
static
delete(string $type)
Delete an existing RDF type mapping.
at line 129
static string
getDefaultResourceClass()
at line 142
static string
setDefaultResourceClass(string $class)
Sets the default resource class