Smalot\Magento\Catalog\Category::delete PHP Method

delete() public method

Allows you to delete the required category.
public delete ( integer $categoryId ) : Smalot\Magento\ActionInterface
$categoryId integer
return Smalot\Magento\ActionInterface
    public function delete($categoryId)
    {
        return $this->__createAction('catalog_category.delete', func_get_args());
    }