Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API 2.0

PHP DOM Builder is unveiled in second revision

In 2014 year PHP DOM Builder library was unveiled at the first time within the framework of Baigudin Software project. Two years have been left after that moment and today we are glad to offer the second generation that is PHP DOM Builder Revision 2.

Interface «DomBuilder\Api\Object»

Elements common access declaration.

  • interface Api\Object

public int length();

Returns the number of elements.

The method has to return a number of contained elements. For singular element container it has to return 1 and for elements list container it has to return a count of elements into it.

Returns:
int — the number of elements.

Back to class list