src/Variables/Specific/Files.php
public function get(string $variableName = null, int $type = Variables::TYPE_ARRAY)
    {
        if ($variableName === null) {
            throw new BadMethodCallException('Variable name must be specified');
        }
        if (isset($this->variables['MFVARS'][$variableName])) {
            return $this->variables['MFVARS'][$variableName];
        }
        if (isset($this->variables[$variableName])) {
            return $this->variables[$variableName];
        }
        return [];
    }
public function get(string $variableName = null, int $type = Variables::TYPE_ARRAY)
    {
        if ($variableName === null) {
            throw new BadMethodCallException('Variable name must be specified');
        }
        if (isset($this->variables['MFVARS'][$variableName])) {
            return $this->variables['MFVARS'][$variableName];
        }
        if (isset($this->variables[$variableName])) {
            return $this->variables[$variableName];
        }
        return [];
    }
public function get ( string $ variableName = null , int $ type = Variables :: TYPE_ARRAY ) { if ( $ variableName === null ) { throw new BadMethodCallException ( 'Variable name must be specified' ) ; } if ( isset ( $ this -> variables [ 'MFVARS' ] [ $ variableName ] ) ) { return $ this -> variables [ 'MFVARS' ] [ $ variableName ] ; } if ( isset ( $ this -> variables [ $ variableName ] ) ) { return $ this -> variables [ $ variableName ] ; } return [ ] ; }
Returns FILES variable's value. If variable doesn't exist method returns default value for specified type.

@param string|null $variableName
@param int         $type
@return array|mixed
Returns FILES variable s value . If variable doesn t exist method returns default value for specified type .