public function render() { $template = $this->getTemplate(); $template->setFile(__DIR__ . '/template.latte'); $this->loadUsers(); $canBeSent = $this->messagesFacade->canMessageBeSentTo($this->responseRecipient, $this->restrictedUsers, $this->users); if (isset($this->responseRecipient) and $canBeSent) { $this['newMessageForm-recipients']->setDefaultValue($this->responseRecipient); } $template->render(); }