public function setOnUpdate(array $properties)
    {
        if (array_key_exists('on-update', $properties)) {
            $this->onUpdate = $this->getOnAction($properties['on-update']);
        }

        return $this;
    }
public function setOnUpdate(array $properties)
    {
        if (array_key_exists('on-update', $properties)) {
            $this->onUpdate = $this->getOnAction($properties['on-update']);
        }

        return $this;
    }
public function setOnUpdate ( array $ properties ) { if ( array_key_exists ( 'on-update' , $ properties ) ) { $ this -> onUpdate = $ this -> getOnAction ( $ properties [ 'on-update' ] ) ; } return $ this ; }
Sets the raw php command to execute on update.

@param array $properties

@return $this
Sets the raw php command to execute on update .