PhpOffice\PhpPresentation\Tests\XmlDocument::elementCount PHP Method

elementCount() public method

Check if element exists
public elementCount ( string $path, string $file ) : string
$path string
$file string
return string
    public function elementCount($path, $file)
    {
        $nodeList = $this->getNodeList($path, $file);
        return $nodeList->length;
    }