Pimcore\Model\User\UserRole\Folder::hasChildren PHP Method

hasChildren() public method

Returns true if the document has at least one child
public hasChildren ( ) : boolean
return boolean
    public function hasChildren()
    {
        if ($this->hasChilds !== null) {
            return $this->hasChilds;
        }
        return $this->getDao()->hasChilds();
    }