tableStorage) { $this->_usedProperties['tableStorage'] = true; $this->tableStorage = new \Symfony\Config\DoctrineMigrations\Storage\TableStorageConfig($value); } elseif (0 < \func_num_args()) { throw new InvalidConfigurationException('The node created by "tableStorage()" has already been initialized. You cannot pass values the second time you call tableStorage().'); } return $this->tableStorage; } public function __construct(array $config = []) { if (array_key_exists('table_storage', $config)) { $this->_usedProperties['tableStorage'] = true; $this->tableStorage = new \Symfony\Config\DoctrineMigrations\Storage\TableStorageConfig($config['table_storage']); unset($config['table_storage']); } if ($config) { throw new InvalidConfigurationException(sprintf('The following keys are not supported by "%s": ', __CLASS__).implode(', ', array_keys($config))); } } public function toArray(): array { $output = []; if (isset($this->_usedProperties['tableStorage'])) { $output['table_storage'] = $this->tableStorage->toArray(); } return $output; } }