public function getFiles() : array
    {
        $files = [];

        if (!empty($_FILES)) {
            foreach ($_FILES as $inputName => $phpFile) {
                if (!is_array($phpFile['name'])) {

                    // When this was a single file
                    $files[$inputName] = $this->handleUniqueFile($phpFile);
                } else {

                    //When the input has a 'multiple' attribute
                    $files[$inputName] = $this->handleMultipleFile($phpFile);
                }
            }
        }

        return $files;
    }