FluidTYPO3\Vhs\ViewHelpers\Once\AbstractOnceViewHelper::render PHP Method

render() public method

Standard render method. Implementers should override the assertShouldSkip() method and/or the getIdentifier() and storeIdentifier() methods as applies to each implementers method of storing identifiers.
public render ( ) : string
return string
    public function render()
    {
        $this->removeIfExpired();
        $evaluation = $this->assertShouldSkip();
        if (false === $evaluation) {
            $content = $this->renderThenChild();
        } else {
            $content = $this->renderElseChild();
        }
        $this->storeIdentifier();
        return $content;
    }