`if (null === $template = $repository->find($row['model_of'])) {`