original_string: public function getSizes()
      {
          $sizes = [];
          if ($this->phoneSize === 'auto') {
              $sizes['phone'] = $this->generatePhoneSize();
          } elseif ($this->phoneSize === true && $this->hasPhoneColumns) {
              $sizes['phone'] = $this->phoneColumns;
          }
          if ($this->tabletSize === 'auto') {
              $sizes['tablet'] = $this->generateTabletSize();
          } elseif ($this->tabletSize === true && $this->hasTabletColumns) {
              $sizes['tablet'] = $this->tabletColumns;
          }
          if ($this->mediumDesktopSize === 'auto') {
              $sizes['mediumDesktop'] = $this->generateMediumDesktopSize();
          } elseif ($this->mediumDesktopSize === true && $this->hasMediumDesktopColumns) {
              $sizes['mediumDesktop'] = $this->mediumDesktopColumns;
          }
          if ($this->largeDesktopSize === 'auto') {
              $sizes['largeDesktop'] = $this->generateLargeDesktopSize();
          } elseif ($this->largeDesktopSize === true && $this->hasLargeDesktopColumns) {
              $sizes['largeDesktop'] = $this->largeDesktopColumns;
          }
  
          return $sizes;
      }
code: public function getSizes()
      {
          $sizes = [];
          if ($this->phoneSize === 'auto') {
              $sizes['phone'] = $this->generatePhoneSize();
          } elseif ($this->phoneSize === true && $this->hasPhoneColumns) {
              $sizes['phone'] = $this->phoneColumns;
          }
          if ($this->tabletSize === 'auto') {
              $sizes['tablet'] = $this->generateTabletSize();
          } elseif ($this->tabletSize === true && $this->hasTabletColumns) {
              $sizes['tablet'] = $this->tabletColumns;
          }
          if ($this->mediumDesktopSize === 'auto') {
              $sizes['mediumDesktop'] = $this->generateMediumDesktopSize();
          } elseif ($this->mediumDesktopSize === true && $this->hasMediumDesktopColumns) {
              $sizes['mediumDesktop'] = $this->mediumDesktopColumns;
          }
          if ($this->largeDesktopSize === 'auto') {
              $sizes['largeDesktop'] = $this->generateLargeDesktopSize();
          } elseif ($this->largeDesktopSize === true && $this->hasLargeDesktopColumns) {
              $sizes['largeDesktop'] = $this->largeDesktopColumns;
          }
  
          return $sizes;
      }
code_tokens: public function getSizes ( ) { $ sizes = [ ] ; if ( $ this -> phoneSize === 'auto' ) { $ sizes [ 'phone' ] = $ this -> generatePhoneSize ( ) ; } elseif ( $ this -> phoneSize === true && $ this -> hasPhoneColumns ) { $ sizes [ 'phone' ] = $ this -> phoneColumns ; } if ( $ this -> tabletSize === 'auto' ) { $ sizes [ 'tablet' ] = $ this -> generateTabletSize ( ) ; } elseif ( $ this -> tabletSize === true && $ this -> hasTabletColumns ) { $ sizes [ 'tablet' ] = $ this -> tabletColumns ; } if ( $ this -> mediumDesktopSize === 'auto' ) { $ sizes [ 'mediumDesktop' ] = $ this -> generateMediumDesktopSize ( ) ; } elseif ( $ this -> mediumDesktopSize === true && $ this -> hasMediumDesktopColumns ) { $ sizes [ 'mediumDesktop' ] = $ this -> mediumDesktopColumns ; } if ( $ this -> largeDesktopSize === 'auto' ) { $ sizes [ 'largeDesktop' ] = $ this -> generateLargeDesktopSize ( ) ; } elseif ( $ this -> largeDesktopSize === true && $ this -> hasLargeDesktopColumns ) { $ sizes [ 'largeDesktop' ] = $ this -> largeDesktopColumns ; } return $ sizes ; }
docstring: Get sizes.
  
  @return [[@doctodo return_type:getSizes]] [[@doctodo return_description:getSizes]]
docstring_tokens: Get sizes .