public function getRecordClass($table)
    {
        if (isset($this->recordClasses[$table])) {
            return $this->recordClasses[$table];
        }

        if ($this->recordNamespace) {
            $class = $this->recordNamespace . '\\' . implode('', array_map('ucfirst', explode('_', $table)));
            if (class_exists($class)) {
                return $class;
            }
        }

        return $this->recordClass;
    }