public function set($key, $value)
    {
        if (in_array($key, $this->getReservedFields())) {
            throw new PodException("You cannot set the property $key. This is reserved for system use.");
        }

        $this->_changed = true;

        $this->_data[$key] = $value;
    }
public function set($key, $value)
    {
        if (in_array($key, $this->getReservedFields())) {
            throw new PodException("You cannot set the property $key. This is reserved for system use.");
        }

        $this->_changed = true;

        $this->_data[$key] = $value;
    }
public function set ( $ key , $ value ) { if ( in_array ( $ key , $ this -> getReservedFields ( ) ) ) { throw new PodException ( "You cannot set the property $key. This is reserved for system use." ) ; } $ this -> _changed = true ; $ this -> _data [ $ key ] = $ value ; }
Set a property for this pod.
@param  string       $key   The property we wish to set.
@param  string       $value The value we wish to set.
@throws PodException
Set a property for this pod .