mixed getAttribute(string $name, mixed $default = null)
Returns an attribute by name.
mixed getAttribute(string $name, mixed $default = null)
Returns an attribute by name.
string | $name | The attribute name |
mixed | $default | Default value is the attribute doesn't exist |
mixed | The attribute value |
Designed by : w10schools
service@w10schools.com
Please login to continue.