public function map($class, $presenter = null)
    {
        if (is_array($class)) {
            foreach ($class as $model => $present) {
                $this->mappings->put($model, $present);
            }
        } else {
            $this->mappings->put($class, $presenter);
        }
    }