src/Charcoal/App/Handler/HandlerConfig.php
public function setEngine($engine)
    {
        if (empty($engine)) {
            $this->engine = null;
            return $this;
        }

        if (!is_string($engine)) {
            throw new InvalidArgumentException(
                'Engine must be a string (the engine ident)'
            );
        }

        $this->engine = $engine;
        return $this;
    }
public function setEngine($engine)
    {
        if (empty($engine)) {
            $this->engine = null;
            return $this;
        }

        if (!is_string($engine)) {
            throw new InvalidArgumentException(
                'Engine must be a string (the engine ident)'
            );
        }

        $this->engine = $engine;
        return $this;
    }
public function setEngine ( $ engine ) { if ( empty ( $ engine ) ) { $ this -> engine = null ; return $ this ; } if ( ! is_string ( $ engine ) ) { throw new InvalidArgumentException ( 'Engine must be a string (the engine ident)' ) ; } $ this -> engine = $ engine ; return $ this ; }
Set the template rendering engine.

@param  string|null $engine The view engine identifier.
@throws InvalidArgumentException If the engine is invalid.
@return self
Set the template rendering engine .