Description

SpoonFormAttributes setAttribute(string $key, string $value = null)

Set a custom attribute and its value.

Parameters

string $key
The name of the attribute.
string $value = null
The value for the attribute.

Return values

SpoonFormAttributes

Comment