original_string: public function getAttributeIds($bundle = null)
      {
          $attributes = $this->attributes($bundle);
          $ids = [];
  
          foreach ($attributes as $name => $info) {
              $ids[] = $info['id'];
          }
  
          return $ids;
      }
code: public function getAttributeIds($bundle = null)
      {
          $attributes = $this->attributes($bundle);
          $ids = [];
  
          foreach ($attributes as $name => $info) {
              $ids[] = $info['id'];
          }
  
          return $ids;
      }
code_tokens: public function getAttributeIds ( $ bundle = null ) { $ attributes = $ this -> attributes ( $ bundle ) ; $ ids = [ ] ; foreach ( $ attributes as $ name => $ info ) { $ ids [ ] = $ info [ 'id' ] ; } return $ ids ; }
docstring: Gets a list of attribute IDs.
  
  @param string $bundle Filter by bundle name
  @return array
docstring_tokens: Gets a list of attribute IDs .