Twig_Loader_Array::__construct
Constructor.
Signature
public function __construct(array
$templates )
Parameters
$templates
— array- An array of templates (keys are the names, and values are the source code)
public function __construct(array
$templates )
$templates
—
array