original_string: public function style(array $data, $oneLine = true)
      {
          $out = [];
          foreach ($data as $key => $value) {
              $out[] = $key . ':' . $value . ';';
          }
          if ($oneLine) {
              return implode(' ', $out);
          }
  
          return implode("\n", $out);
      }
code: public function style(array $data, $oneLine = true)
      {
          $out = [];
          foreach ($data as $key => $value) {
              $out[] = $key . ':' . $value . ';';
          }
          if ($oneLine) {
              return implode(' ', $out);
          }
  
          return implode("\n", $out);
      }
code_tokens: public function style ( array $ data , $ oneLine = true ) { $ out = [ ] ; foreach ( $ data as $ key => $ value ) { $ out [ ] = $ key . ':' . $ value . ';' ; } if ( $ oneLine ) { return implode ( ' ' , $ out ) ; } return implode ( "\n" , $ out ) ; }
docstring: Builds CSS style data from an array of CSS properties
  
  ### Usage:
  
  ```
  echo $this->Html->style(['margin' => '10px', 'padding' => '10px'], true);
  
  // creates
  'margin:10px;padding:10px;'
  ```
  
  @param array $data Style data array, keys will be used as property names, values as property values.
  @param bool $oneLine Whether or not the style block should be displayed on one line.
  @return string CSS styling data
  @link https://book.cakephp.org/3.0/en/views/helpers/html.html#creating-css-programatically
docstring_tokens: Builds CSS style data from an array of CSS properties