pathProvider->resolvePath( $this->templatePath . '/layouts/' . $template . self::TEMPLATE_EXTENSION ); return file_exists($path) ? $path : null; } }