src/TwigViewRenderer.php
public function setStrictVariables(bool $isEnabled = true): self
    {
        if ($isEnabled) {
            $this->twigEnvironment->enableStrictVariables();
        } else {
            $this->twigEnvironment->disableStrictVariables();
        }

        return $this;
    }
public function setStrictVariables(bool $isEnabled = true): self
    {
        if ($isEnabled) {
            $this->twigEnvironment->enableStrictVariables();
        } else {
            $this->twigEnvironment->disableStrictVariables();
        }

        return $this;
    }
public function setStrictVariables ( bool $ isEnabled = true ) : self { if ( $ isEnabled ) { $ this -> twigEnvironment -> enableStrictVariables ( ) ; } else { $ this -> twigEnvironment -> disableStrictVariables ( ) ; } return $ this ; }
Sets whether strict variables should be enabled.

@since 1.1.0

@param bool $isEnabled True if strict variables should be enabled, false otherwise.

@return self The Twig view renderer.
Sets whether strict variables should be enabled .