public function setTemplateField(SnippetTemplateField $templateField) { $this->templateField = $templateField; return $this; }