original_string: protected function resolveImplicitBindingIfPossible($key, $value, $callbackParameters)
      {
          foreach ($callbackParameters as $parameter) {
              if (! $this->isImplicitlyBindable($key, $parameter)) {
                  continue;
              }
  
              $instance = $parameter->getClass()->newInstance();
  
              if (! $model = $instance->resolveRouteBinding($value)) {
                  throw new AccessDeniedHttpException;
              }
  
              return $model;
          }
  
          return $value;
      }
code: protected function resolveImplicitBindingIfPossible($key, $value, $callbackParameters)
      {
          foreach ($callbackParameters as $parameter) {
              if (! $this->isImplicitlyBindable($key, $parameter)) {
                  continue;
              }
  
              $instance = $parameter->getClass()->newInstance();
  
              if (! $model = $instance->resolveRouteBinding($value)) {
                  throw new AccessDeniedHttpException;
              }
  
              return $model;
          }
  
          return $value;
      }
code_tokens: protected function resolveImplicitBindingIfPossible ( $ key , $ value , $ callbackParameters ) { foreach ( $ callbackParameters as $ parameter ) { if ( ! $ this -> isImplicitlyBindable ( $ key , $ parameter ) ) { continue ; } $ instance = $ parameter -> getClass ( ) -> newInstance ( ) ; if ( ! $ model = $ instance -> resolveRouteBinding ( $ value ) ) { throw new AccessDeniedHttpException ; } return $ model ; } return $ value ; }
docstring: Resolve an implicit parameter binding if applicable.
  
  @param  string  $key
  @param  mixed  $value
  @param  array  $callbackParameters
  @return mixed
  
  @throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
docstring_tokens: Resolve an implicit parameter binding if applicable .