original_string: public function getFlex($size = null)
      {
          if (is_null($size)) {
              $size = $this->baseSize;
          }
          $getter = $size . 'Columns';
          $flex = $this->getMaxColumns($size) - $this->{$getter};
          if ($flex < 0) {
              return 0;
          }
  
          return $flex;
      }
code: public function getFlex($size = null)
      {
          if (is_null($size)) {
              $size = $this->baseSize;
          }
          $getter = $size . 'Columns';
          $flex = $this->getMaxColumns($size) - $this->{$getter};
          if ($flex < 0) {
              return 0;
          }
  
          return $flex;
      }
code_tokens: public function getFlex ( $ size = null ) { if ( is_null ( $ size ) ) { $ size = $ this -> baseSize ; } $ getter = $ size . 'Columns' ; $ flex = $ this -> getMaxColumns ( $ size ) - $ this -> { $ getter } ; if ( $ flex < 0 ) { return 0 ; } return $ flex ; }
docstring: Get flex.
  
  @param [[@doctodo param_type:size]] $size [[@doctodo param_description:size]] [optional]
  
  @return [[@doctodo return_type:getFlex]] [[@doctodo return_description:getFlex]]
docstring_tokens: Get flex .