Twig_Node::hasAttribute
Returns true if the attribute is defined.
Signature
public function hasAttribute(
$name )
Parameters
$name
—
Returns
- Boolean
- true if the attribute is defined, false otherwise
public function hasAttribute(
$name )
$name
—