original_string: protected function _alias($alias, $conditions, $multipleNulls)
      {
          $aliased = [];
          foreach ($conditions as $key => $value) {
              if ($multipleNulls) {
                  $aliased["$alias.$key"] = $value;
              } else {
                  $aliased["$alias.$key IS"] = $value;
              }
          }
  
          return $aliased;
      }
code: protected function _alias($alias, $conditions, $multipleNulls)
      {
          $aliased = [];
          foreach ($conditions as $key => $value) {
              if ($multipleNulls) {
                  $aliased["$alias.$key"] = $value;
              } else {
                  $aliased["$alias.$key IS"] = $value;
              }
          }
  
          return $aliased;
      }
code_tokens: protected function _alias ( $ alias , $ conditions , $ multipleNulls ) { $ aliased = [ ] ; foreach ( $ conditions as $ key => $ value ) { if ( $ multipleNulls ) { $ aliased [ "$alias.$key" ] = $ value ; } else { $ aliased [ "$alias.$key IS" ] = $ value ; } } return $ aliased ; }
docstring: Add a model alias to all the keys in a set of conditions.
  
  Null values will be omitted from the generated conditions,
  as SQL UNIQUE indexes treat `NULL != NULL`
  
  @param string $alias The alias to add.
  @param array $conditions The conditions to alias.
  @param bool $multipleNulls Whether or not to allow multiple nulls.
  @return array
docstring_tokens: Add a model alias to all the keys in a set of conditions .