original_string: public function set($name, $value)
      {
          if (isset($this->locked[$name])) {
              throw new LockedItemException($name);
          }
  
          $this->items[$name] = $value;
      }
code: public function set($name, $value)
      {
          if (isset($this->locked[$name])) {
              throw new LockedItemException($name);
          }
  
          $this->items[$name] = $value;
      }
code_tokens: public function set ( $ name , $ value ) { if ( isset ( $ this -> locked [ $ name ] ) ) { throw new LockedItemException ( $ name ) ; } $ this -> items [ $ name ] = $ value ; }
docstring: Sets a item by name.
  
  @param string $name
  @param mixed  $value
  
  @return LockBox
docstring_tokens: Sets a item by name .