src/Phinx/Db/Util/AlterInstructions.php
public function merge(AlterInstructions $other)
    {
        $this->alterParts = array_merge($this->alterParts, $other->getAlterParts());
        $this->postSteps = array_merge($this->postSteps, $other->getPostSteps());
    }
public function merge(AlterInstructions $other)
    {
        $this->alterParts = array_merge($this->alterParts, $other->getAlterParts());
        $this->postSteps = array_merge($this->postSteps, $other->getPostSteps());
    }
public function merge ( AlterInstructions $ other ) { $ this -> alterParts = array_merge ( $ this -> alterParts , $ other -> getAlterParts ( ) ) ; $ this -> postSteps = array_merge ( $ this -> postSteps , $ other -> getPostSteps ( ) ) ; }
Merges another AlterInstructions object to this one

@param AlterInstructions $other The other collection of instructions to merge in
@return void
Merges another AlterInstructions object to this one