/**
  * @return stack_cas_configuration the singleton instance of this class.
  */
 protected static function get_instance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }