original_string: protected function extractParametersFromClass($callback)
      {
          $reflection = new ReflectionClass($callback);
  
          if (! $reflection->hasMethod('join')) {
              throw new Exception('Class based channel must define a "join" method.');
          }
  
          return $reflection->getMethod('join')->getParameters();
      }
code: protected function extractParametersFromClass($callback)
      {
          $reflection = new ReflectionClass($callback);
  
          if (! $reflection->hasMethod('join')) {
              throw new Exception('Class based channel must define a "join" method.');
          }
  
          return $reflection->getMethod('join')->getParameters();
      }
code_tokens: protected function extractParametersFromClass ( $ callback ) { $ reflection = new ReflectionClass ( $ callback ) ; if ( ! $ reflection -> hasMethod ( 'join' ) ) { throw new Exception ( 'Class based channel must define a "join" method.' ) ; } return $ reflection -> getMethod ( 'join' ) -> getParameters ( ) ; }
docstring: Extracts the parameters out of a class channel's "join" method.
  
  @param  string  $callback
  @return \ReflectionParameter[]
  
  @throws \Exception
docstring_tokens: Extracts the parameters out of a class channel s join method .