src/Viserio/Component/View/ViewFactory.php
public function file(string $path, array $data = [], array $mergeData = []): ViewContract
    {
        $data   = \array_merge($mergeData, $this->parseData($data));
        $engine = $this->getEngineFromPath($path);

        return $this->getView($this, $engine, $path, ['path' => $path], $data);
    }
public function file(string $path, array $data = [], array $mergeData = []): ViewContract
    {
        $data   = \array_merge($mergeData, $this->parseData($data));
        $engine = $this->getEngineFromPath($path);

        return $this->getView($this, $engine, $path, ['path' => $path], $data);
    }
{@inheritdoc}