/**
  * Returns the instance.
  *
  * @since  1.0.0
  * @return object
  */
 public static function get_instance($args, $main_class)
 {
     // If the single instance hasn't been set, set it now.
     if (null == self::$instance) {
         self::$instance = new self($args, $main_class);
     }
     return self::$instance;
 }
 /**
  * Function set the child classes.
  *
  * @since  1.0.0
  * @access public
  * @return void
  */
 public function set_class()
 {
     $this->loader = Cherry_Template_Loader::get_instance($this->args, $this);
     $this->parser = Cherry_Template_Parser::get_instance($this->args, $this);
 }