/** * Get table engine. * * @param string $table * @param string|null $database * @return null */ public function getEngine($table, $database = null) { if (method_exists($this->schema, 'getTableEngine')) { $tableInfo = $this->schema->getTableEngine($table, $database); return $tableInfo ?: null; } return; }