__call()
__call(string $element, array $arguments) : \SimpleHTML
The magic method that is called when an element that doesn't have its own method is added. Creates and adds objects to the node tree based on supplied arguments.
Parameters
string | $element | Element name |
array | $arguments | Element attributes |
Returns
\SimpleHTML —Newly created node