ViewObjectFactory

Class ViewObjectFactory

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

package

LightMVC/ASCMVC

Methods

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