original_string: protected function explodeExplicitRule($rule)
      {
          if (is_string($rule)) {
              return explode('|', $rule);
          } elseif (is_object($rule)) {
              return [$this->prepareRule($rule)];
          }
  
          return array_map([$this, 'prepareRule'], $rule);
      }
code: protected function explodeExplicitRule($rule)
      {
          if (is_string($rule)) {
              return explode('|', $rule);
          } elseif (is_object($rule)) {
              return [$this->prepareRule($rule)];
          }
  
          return array_map([$this, 'prepareRule'], $rule);
      }
code_tokens: protected function explodeExplicitRule ( $ rule ) { if ( is_string ( $ rule ) ) { return explode ( '|' , $ rule ) ; } elseif ( is_object ( $ rule ) ) { return [ $ this -> prepareRule ( $ rule ) ] ; } return array_map ( [ $ this , 'prepareRule' ] , $ rule ) ; }
docstring: Explode the explicit rule into an array if necessary.
  
  @param  mixed  $rule
  @return array
docstring_tokens: Explode the explicit rule into an array if necessary .