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