original_string: protected function setDefaultAttributes()
      {
          if (!empty($this->attributes)) {
              foreach ($this->attributes as $attr => $val) {
                  $this->realSetAttribute($attr, $val);
              }
          }
      }
code: protected function setDefaultAttributes()
      {
          if (!empty($this->attributes)) {
              foreach ($this->attributes as $attr => $val) {
                  $this->realSetAttribute($attr, $val);
              }
          }
      }
code_tokens: protected function setDefaultAttributes ( ) { if ( ! empty ( $ this -> attributes ) ) { foreach ( $ this -> attributes as $ attr => $ val ) { $ this -> realSetAttribute ( $ attr , $ val ) ; } } }
docstring: Set default attributes
  
  @access protected
docstring_tokens: Set default attributes