private function avoidRenderizer($extension, $relativePath)
{
$strPath = new StringWrapper($relativePath);
foreach ($this->params['avoid_renderizer_path'] as $path) {
if ($relativePath == $path || $strPath->startWith($path . '/') === true) {
return true;
}
}
if (in_array($extension, $this->params['avoid_renderizer_extension']) === true) {
return true;
}
return false;
}