code: protected function markAsResolved($abstract, $resolvedInstance, $flag = [])
      {
          if (!is_array($flag)) {
              $flag = array_slice(func_get_args(), 2);
          }
  
          if ($this->isAbstractExists($abstract)) {
              $this->resolved[$abstract] = [
                  'concrete' => $resolvedInstance,
                  'resolved' => true,
                  'flag' => join('|', $flag)
              ];
          }
      }
docs: Mark resolved class name to true.
  
  @param string $abstract The resolved class name.
  @param object $resolvedInstance The object instance of resolved abstract.
  @param mixed $flag The concrete-resolving behavior.
  @return void