@classmethod
def php_variable_assignments(cls, line) ->tuple:
    """ Reads line and return PHP variable assignments as a tuple (key, value)
        :param line: string, intended to be a line from a php file
        :return: tuple with key value pairs from variable assignments in line
        """
    define_match = cls.define_pattern.match(line)
    assign_match = cls.assign_pattern.match(line)
    if define_match:
        return define_match.group(2), define_match.group(4)
    if assign_match:
        return assign_match.group(2), assign_match.group(4)
