$parsley->containsBlock()
Checks if the given element contains any other block level elements
$parsley->containsBlock(DOMNode $element): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $elementrequired | DOMNode |
no default value |
Return type
bool
This method modifies the existing $parsley object it is applied to and returns it again.