public function resolve($id) { if (isset($this->transformers[$id])) { return $this->transformers[$id]; } }