original_string: public function offsetSet($offset, $value)
      {
          if ( ! $this->magicAssignment) {
              throw new UnassignableAttributeException("Not allowed to assign value by magic with array access");
          }
  
          $this->checkAttributeAssignable($offset);
  
          $this->attributes[ $offset ] = $value;
      }
code: public function offsetSet($offset, $value)
      {
          if ( ! $this->magicAssignment) {
              throw new UnassignableAttributeException("Not allowed to assign value by magic with array access");
          }
  
          $this->checkAttributeAssignable($offset);
  
          $this->attributes[ $offset ] = $value;
      }
code_tokens: public function offsetSet ( $ offset , $ value ) { if ( ! $ this -> magicAssignment ) { throw new UnassignableAttributeException ( "Not allowed to assign value by magic with array access" ) ; } $ this -> checkAttributeAssignable ( $ offset ) ; $ this -> attributes [ $ offset ] = $ value ; }
docstring: Set the value for a given offset.
  
  @param mixed $offset
  @param mixed $value
  @return void
docstring_tokens: Set the value for a given offset .