ViewObjectFactory

Class ViewObjectFactory

The ViewObjectFactory creates an instance of the Plates, Twig or Smarty template manager, according to specified configuration.

package

LightMVC/ASCMVC

Methods

ViewObjectFactory clone method.

__clone() 

ViewObjectFactory constructor.

__construct() 

Gets a Singleton instance of the Doctrine class.

getInstance(array $baseConfig) : \League\Plates\Engine|\Smarty|\Twig_Environment
static

Arguments

$baseConfig

array

Response

\League\Plates\Engine|\Smarty|\Twig_Environment

Properties

Contains an instance of a template manager.

templateInstance : \League\Plates\Engine|\Smarty|\Twig_Environment
static
var

Type(s)

\League\Plates\Engine|\Smarty|\Twig_Environment