Sets the paths where templates are stored.
string|array $paths A path or an array of paths where to look for templates:
string $namespace A path namespace:
public function setPaths($paths, $namespace = '__main__') {
if (!is_array($paths)) {
$paths = array(
$paths,
);
}
$this->paths[$namespace] = array();
foreach ($paths as $path) {
$this
->addPath($path, $namespace);
}
}