src/Viserio/Component/View/ViewFinder.php
protected function getPossibleViewFiles(string $name): array
    {
        return \array_map(static function ($extension) use ($name) {
            return [
                'extension' => $extension,
                'file'      => \str_replace('.', \DIRECTORY_SEPARATOR, $name) . '.' . $extension,
            ];
        }, self::$extensions);
    }
protected function getPossibleViewFiles(string $name): array
    {
        return \array_map(static function ($extension) use ($name) {
            return [
                'extension' => $extension,
                'file'      => \str_replace('.', \DIRECTORY_SEPARATOR, $name) . '.' . $extension,
            ];
        }, self::$extensions);
    }
Get an array of possible view files.

@param string $name

@return array