Pimcore\Model\Document\Tag\Areablock::end PHP Method

end() public method

Is executed at the end of the loop and removes the settings set in start()
public end ( ) : void
return void
    public function end()
    {
        $this->current = 0;
        // remove the suffix which was set by self::start()
        $suffixes = \Zend_Registry::get("pimcore_tag_block_current");
        array_pop($suffixes);
        \Zend_Registry::set("pimcore_tag_block_current", $suffixes);
        $this->outputEditmode("</div>");
    }