src/WingCommander.php
public static function init ($options = array())
    {
        Flight::map("render", function($template, $data, $toVar = false){
            Flight::view()->render($template, $data, $toVar);
        });

        Flight::register('view', get_called_class(), $options);
    }
public static function init ($options = array())
    {
        Flight::map("render", function($template, $data, $toVar = false){
            Flight::view()->render($template, $data, $toVar);
        });

        Flight::register('view', get_called_class(), $options);
    }
Initialise the template engine

@param array $options Mustache options