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