_migration = $migration; parent::__construct($message, $variables, $code); } /** * Get the migration that caused this exception to be thrown * * @return array */ public function get_migration() { return $this->_migration; } }