original_string: protected function resolvePrimitive(ReflectionParameter $parameter)
      {
          if (! is_null($concrete = $this->getContextualConcrete('$'.$parameter->name))) {
              return $concrete instanceof Closure ? $concrete($this) : $concrete;
          }
  
          if ($parameter->isDefaultValueAvailable()) {
              return $parameter->getDefaultValue();
          }
  
          $this->unresolvablePrimitive($parameter);
      }
code: protected function resolvePrimitive(ReflectionParameter $parameter)
      {
          if (! is_null($concrete = $this->getContextualConcrete('$'.$parameter->name))) {
              return $concrete instanceof Closure ? $concrete($this) : $concrete;
          }
  
          if ($parameter->isDefaultValueAvailable()) {
              return $parameter->getDefaultValue();
          }
  
          $this->unresolvablePrimitive($parameter);
      }
code_tokens: protected function resolvePrimitive ( ReflectionParameter $ parameter ) { if ( ! is_null ( $ concrete = $ this -> getContextualConcrete ( '$' . $ parameter -> name ) ) ) { return $ concrete instanceof Closure ? $ concrete ( $ this ) : $ concrete ; } if ( $ parameter -> isDefaultValueAvailable ( ) ) { return $ parameter -> getDefaultValue ( ) ; } $ this -> unresolvablePrimitive ( $ parameter ) ; }
docstring: Resolve a non-class hinted primitive dependency.
  
  @param  \ReflectionParameter  $parameter
  @return mixed
  
  @throws \Illuminate\Contracts\Container\BindingResolutionException
docstring_tokens: Resolve a non - class hinted primitive dependency .