src/Core/Error/ErrorManager.php
public function setErrorTemplate($errorTemplate, $engine = null)
    {
        if (!\is_string($errorTemplate)) {
            throw new \InvalidArgumentException('Please use string as template name (Example: "folder.file").');
        }

        $this->errorTemplate = $errorTemplate;

        if ($engine) {
            $this->setEngine($engine);
        }
    }
public function setErrorTemplate($errorTemplate, $engine = null)
    {
        if (!\is_string($errorTemplate)) {
            throw new \InvalidArgumentException('Please use string as template name (Example: "folder.file").');
        }

        $this->errorTemplate = $errorTemplate;

        if ($engine) {
            $this->setEngine($engine);
        }
    }
public function setErrorTemplate ( $ errorTemplate , $ engine = null ) { if ( ! \ is_string ( $ errorTemplate ) ) { throw new \ InvalidArgumentException ( 'Please use string as template name (Example: "folder.file").' ) ; } $ this -> errorTemplate = $ errorTemplate ; if ( $ engine ) { $ this -> setEngine ( $ engine ) ; } }
Method to set property errorTemplate

@param   string $errorTemplate
@param   string $engine

@return void
@throws \InvalidArgumentException
Method to set property errorTemplate