FluentDOM\Query\Attributes::count PHP Метод

count() публичный Метод

Get the attribute count of the first selected node
См. также: Countable::count()
public count ( ) : integer
Результат integer
    public function count()
    {
        if ($node = $this->getFirstElement()) {
            return $node->attributes->length;
        }
        return 0;
    }