Returns a string representation of the attribute.
While __toString only returns the value in a string form, render() contains the name of the attribute as well.
string The string representation of the attribute.
public function render() {
return $this->name . '="' . $this . '"';
}