original_string: public function getDataAttributes()
      {
          $attributes = [
              'data-toggle' => 'popover',
              'data-container' => 'body',
              'data-placement' => $this->getPlacement()
          ];
          
          if (($parent = $this->getParent()) && $parent->ShowTitles) {
              $attributes['data-title'] = $this->Title;
          }
          
          $this->extend('updateDataAttributes', $attributes);
          
          return $attributes;
      }
code: public function getDataAttributes()
      {
          $attributes = [
              'data-toggle' => 'popover',
              'data-container' => 'body',
              'data-placement' => $this->getPlacement()
          ];
          
          if (($parent = $this->getParent()) && $parent->ShowTitles) {
              $attributes['data-title'] = $this->Title;
          }
          
          $this->extend('updateDataAttributes', $attributes);
          
          return $attributes;
      }
code_tokens: public function getDataAttributes ( ) { $ attributes = [ 'data-toggle' => 'popover' , 'data-container' => 'body' , 'data-placement' => $ this -> getPlacement ( ) ] ; if ( ( $ parent = $ this -> getParent ( ) ) && $ parent -> ShowTitles ) { $ attributes [ 'data-title' ] = $ this -> Title ; } $ this -> extend ( 'updateDataAttributes' , $ attributes ) ; return $ attributes ; }
docstring: Answers an array of data attributes for the receiver.
  
  @return array
docstring_tokens: Answers an array of data attributes for the receiver .