original_string: public function style(Model $model, $source)
      {
          if ( ! $this->attributeData) {
              return null;
          }
  
          switch ($this->attributeData->cast) {
  
              case AttributeCast::INTEGER:
              case AttributeCast::FLOAT:
                  return 'column-right';
  
              case AttributeCast::DATE:
                  return 'column-date';
  
              // default omitted on purpose
          }
  
          return null;
      }
code: public function style(Model $model, $source)
      {
          if ( ! $this->attributeData) {
              return null;
          }
  
          switch ($this->attributeData->cast) {
  
              case AttributeCast::INTEGER:
              case AttributeCast::FLOAT:
                  return 'column-right';
  
              case AttributeCast::DATE:
                  return 'column-date';
  
              // default omitted on purpose
          }
  
          return null;
      }
code_tokens: public function style ( Model $ model , $ source ) { if ( ! $ this -> attributeData ) { return null ; } switch ( $ this -> attributeData -> cast ) { case AttributeCast :: INTEGER : case AttributeCast :: FLOAT : return 'column-right' ; case AttributeCast :: DATE : return 'column-date' ; // default omitted on purpose } return null ; }
docstring: Returns an optional style string for the list display value container.
  
  @param Model  $model
  @param string $source    source column, method name or value
  @return string|null
docstring_tokens: Returns an optional style string for the list display value container .