public function setOnStore(array $properties)
    {
        if (array_key_exists('on-store', $properties)) {
            $this->onStore = $this->getOnAction($properties['on-store']);
        }

        return $this;
    }
public function setOnStore(array $properties)
    {
        if (array_key_exists('on-store', $properties)) {
            $this->onStore = $this->getOnAction($properties['on-store']);
        }

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

@param array $properties

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