original_string: protected function interpretSpecialTargets(array $targets)
      {
          $normalized = [];
  
          foreach ($targets as $targetParts) {
  
              // Detect '*' and convert to all attributes
              if (count($targetParts) == 1 && trim(head($targetParts)) == '*') {
                  $normalized += $this->makeTargetsForAllAttributes();
                  continue;
              }
  
              $normalized[] = $targetParts;
          }
  
          return $normalized;
      }
code: protected function interpretSpecialTargets(array $targets)
      {
          $normalized = [];
  
          foreach ($targets as $targetParts) {
  
              // Detect '*' and convert to all attributes
              if (count($targetParts) == 1 && trim(head($targetParts)) == '*') {
                  $normalized += $this->makeTargetsForAllAttributes();
                  continue;
              }
  
              $normalized[] = $targetParts;
          }
  
          return $normalized;
      }
code_tokens: protected function interpretSpecialTargets ( array $ targets ) { $ normalized = [ ] ; foreach ( $ targets as $ targetParts ) { // Detect '*' and convert to all attributes if ( count ( $ targetParts ) == 1 && trim ( head ( $ targetParts ) ) == '*' ) { $ normalized += $ this -> makeTargetsForAllAttributes ( ) ; continue ; } $ normalized [ ] = $ targetParts ; } return $ normalized ; }
docstring: Interprets and translates special targets into separate target arrays.
  
  Think of a special target like '*', which should be translated into
  separate condition targets for each (relevant) attribute of the model.
  
  @param array $targets
  @return array
docstring_tokens: Interprets and translates special targets into separate target arrays .