protected static function parseOptions($options) { // Create default options for those not set $option_defaults = array('debug' => false, 'versioning' => true, 'boilerplate' => true, 'vars' => array(), 'cache' => true, '_globalVars' => self::$globalVars); self::$options = is_array($options) ? array_merge($option_defaults, $options) : $option_defaults; }