Box\Brainy\Templates\TemplateBase::assertIsNotStrict PHP Method

assertIsNotStrict() public method

public assertIsNotStrict ( string $reason ) : void
$reason string
return void
    public function assertIsNotStrict($reason)
    {
        if (Brainy::$strict_mode || $this->strict_mode) {
            throw new BrainyStrictModeException('Strict Mode: ' . $reason);
        }
    }