PHP_CompatInfo_Renderer::factory
Synopsis
object PHP_CompatInfo_Renderer
&
PHP_CompatInfo_Renderer::factory
(
object
&$parser
,
string
$type
= 'array'
,
array
$conf
= array()
)
Description
Creates a concrete instance of the renderer depending of $type
Parameter
-
object
&$parser
-
A concrete instance of the parser
-
string
$type
-
(optional) Type of instance required, case insensitive
-
array
$conf
-
(optional) A hash containing any additional configuration information that a subclass might need.
Return value
returns A concrete PHP_CompatInfo_Renderer instance, or null on error.
Throws
throws no exceptions thrown
Since
since version 1.8.0b2 (2008-06-03)
Note
This function can not be called statically.