original_string: public function style($styles)
      {
          if (is_string($styles)) {
              return $this->style([$styles]);
          }
  
          $styles = array_map(function ($style) {
              return 'box-'.$style;
          }, $styles);
  
          $this->class = $this->class.' '.implode(' ', $styles);
  
          return $this;
      }
code: public function style($styles)
      {
          if (is_string($styles)) {
              return $this->style([$styles]);
          }
  
          $styles = array_map(function ($style) {
              return 'box-'.$style;
          }, $styles);
  
          $this->class = $this->class.' '.implode(' ', $styles);
  
          return $this;
      }
code_tokens: public function style ( $ styles ) { if ( is_string ( $ styles ) ) { return $ this -> style ( [ $ styles ] ) ; } $ styles = array_map ( function ( $ style ) { return 'box-' . $ style ; } , $ styles ) ; $ this -> class = $ this -> class . ' ' . implode ( ' ' , $ styles ) ; return $ this ; }
docstring: Set box style.
  
  @param string $styles
  
  @return $this|Box
docstring_tokens: Set box style .