public static function create(string $id) : FixtureNotFoundException { return new FixtureNotFoundException(sprintf('Could not find the fixture "%s".', $id)); }
public function getTemplate(string $id) : FixtureInterface { if ($this->templates->has($id)) { return $this->templates->get($id); } throw FixtureNotFoundExceptionFactory::create($id); }