original_string: protected function parseMiddleware($middleware)
      {
          list($name, $parameters) = array_pad(explode(':', $middleware, 2), 2, array());
  
          if (is_string($parameters)) {
              $parameters = explode(',', $parameters);
          }
  
          return array($name, $parameters);
      }
code: protected function parseMiddleware($middleware)
      {
          list($name, $parameters) = array_pad(explode(':', $middleware, 2), 2, array());
  
          if (is_string($parameters)) {
              $parameters = explode(',', $parameters);
          }
  
          return array($name, $parameters);
      }
code_tokens: protected function parseMiddleware ( $ middleware ) { list ( $ name , $ parameters ) = array_pad ( explode ( ':' , $ middleware , 2 ) , 2 , array ( ) ) ; if ( is_string ( $ parameters ) ) { $ parameters = explode ( ',' , $ parameters ) ; } return array ( $ name , $ parameters ) ; }
docstring: Parse a middleware string to get the name and parameters.
  
  @param  string  $middleware
  @return array
docstring_tokens: Parse a middleware string to get the name and parameters .