original_string: protected function _parseArgs($args, $context)
      {
          $pass = [];
          $args = explode('/', $args);
  
          foreach ($args as $param) {
              if (empty($param) && $param !== '0' && $param !== 0) {
                  continue;
              }
              $pass[] = rawurldecode($param);
          }
  
          return $pass;
      }
code: protected function _parseArgs($args, $context)
      {
          $pass = [];
          $args = explode('/', $args);
  
          foreach ($args as $param) {
              if (empty($param) && $param !== '0' && $param !== 0) {
                  continue;
              }
              $pass[] = rawurldecode($param);
          }
  
          return $pass;
      }
code_tokens: protected function _parseArgs ( $ args , $ context ) { $ pass = [ ] ; $ args = explode ( '/' , $ args ) ; foreach ( $ args as $ param ) { if ( empty ( $ param ) && $ param !== '0' && $ param !== 0 ) { continue ; } $ pass [ ] = rawurldecode ( $ param ) ; } return $ pass ; }
docstring: Parse passed parameters into a list of passed args.
  
  Return true if a given named $param's $val matches a given $rule depending on $context.
  Currently implemented rule types are controller, action and match that can be combined with each other.
  
  @param string $args A string with the passed params. eg. /1/foo
  @param string $context The current route context, which should contain controller/action keys.
  @return array Array of passed args.
docstring_tokens: Parse passed parameters into a list of passed args .