actions[] = $action; } /** * Returns the full list of actions * * @return \Phinx\Db\Action\Action[] */ public function getActions(): array { return $this->actions; } /** * Merges another Intent object with this one * * @param \Phinx\Db\Plan\Intent $another The other intent to merge in * @return void */ public function merge(Intent $another): void { $this->actions = array_merge($this->actions, $another->getActions()); } }