protected function getView(
        FactoryContract $factory,
        EngineContract $engine,
        string $view,
        array $fileInfo,
        $data = []
    ): View {
        return new View($factory, $engine, $view, $fileInfo, $data);
    }