original_string: protected static function callBoundMethod($container, $callback, $default)
      {
          if (! is_array($callback)) {
              return $default instanceof Closure ? $default() : $default;
          }
  
          // Here we need to turn the array callable into a Class@method string we can use to
          // examine the container and see if there are any method bindings for this given
          // method. If there are, we can call this method binding callback immediately.
          $method = static::normalizeMethod($callback);
  
          if ($container->hasMethodBinding($method)) {
              return $container->callMethodBinding($method, $callback[0]);
          }
  
          return $default instanceof Closure ? $default() : $default;
      }
code: protected static function callBoundMethod($container, $callback, $default)
      {
          if (! is_array($callback)) {
              return $default instanceof Closure ? $default() : $default;
          }
  
          // Here we need to turn the array callable into a Class@method string we can use to
          // examine the container and see if there are any method bindings for this given
          // method. If there are, we can call this method binding callback immediately.
          $method = static::normalizeMethod($callback);
  
          if ($container->hasMethodBinding($method)) {
              return $container->callMethodBinding($method, $callback[0]);
          }
  
          return $default instanceof Closure ? $default() : $default;
      }
code_tokens: protected static function callBoundMethod ( $ container , $ callback , $ default ) { if ( ! is_array ( $ callback ) ) { return $ default instanceof Closure ? $ default ( ) : $ default ; } // Here we need to turn the array callable into a Class@method string we can use to // examine the container and see if there are any method bindings for this given // method. If there are, we can call this method binding callback immediately. $ method = static :: normalizeMethod ( $ callback ) ; if ( $ container -> hasMethodBinding ( $ method ) ) { return $ container -> callMethodBinding ( $ method , $ callback [ 0 ] ) ; } return $ default instanceof Closure ? $ default ( ) : $ default ; }
docstring: Call a method that has been bound to the container.
  
  @param  \Illuminate\Container\Container  $container
  @param  callable  $callback
  @param  mixed  $default
  @return mixed
docstring_tokens: Call a method that has been bound to the container .