public function Twig_Node::removeAttribute in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/Node.php \Twig_Node::removeAttribute()
Removes an attribute by name.
Parameters
string $name:
File
- vendor/
twig/ twig/ lib/ Twig/ Node.php, line 168
Class
- Twig_Node
- Represents a node in the AST.
Code
public function removeAttribute($name) {
unset($this->attributes[$name]);
}