protected function getChildrenCategories()
    {
        if ($this->childrenCategories === null) {
            $currentCategory = $this->dataProvider->getCategory();
            $this->childrenCategories = $currentCategory->getChildrenCategories();
        }

        return $this->childrenCategories;
    }
protected function getChildrenCategories()
    {
        if ($this->childrenCategories === null) {
            $currentCategory = $this->dataProvider->getCategory();
            $this->childrenCategories = $currentCategory->getChildrenCategories();
        }

        return $this->childrenCategories;
    }
protected function getChildrenCategories ( ) { if ( $ this -> childrenCategories === null ) { $ currentCategory = $ this -> dataProvider -> getCategory ( ) ; $ this -> childrenCategories = $ currentCategory -> getChildrenCategories ( ) ; } return $ this -> childrenCategories ; }
Retrieve currently selected category children categories.

@return \Magento\Catalog\Model\ResourceModel\Category\Collection|\Magento\Catalog\Model\Category[]
Retrieve currently selected category children categories .