protected function getFiles(): array
    {
        $path = $this->getPath();

        $files = $this->file->allFiles($path);

        if (! $files) {
            throw new MenuFilesNotFound("Menu files have not been found in [{$path}].");
        }

        return $files;
    }