public function filter($file, $filter, array $runtimeConfig = []) { if (is_object($file)) { return new \Twig_Markup($this->fileService->getFilteredPath($file, $filter), 'utf8'); } else { return new \Twig_Markup($this->cacheManager->getBrowserPath($file, $filter, $runtimeConfig), 'utf8'); } }
public function get($file) { return new \Twig_Markup($this->fileService->getPath($file), 'utf8'); }