public function get(string $id) : FixtureInterface { if ($this->fixtures->has($id)) { return $this->fixtures->get($id); } if ($this->templates->has($id)) { return $this->templates->get($id); } throw FixtureNotFoundExceptionFactory::create($id); }