Sets an optional attribute into the current instance.
public setAttribute ( string $name, mixed $value ) | ||
$name | string | Attribute name. |
$value | mixed | Attribute value. |
public setAttribute ( string $name, mixed $value ) | ||
$name | string | Attribute name. |
$value | mixed | Attribute value. |