/**
  * @param GithubRepo  $githubRepo
  * @param PullRequest $pullRequestValueObject
  *
  * @return GithubPullRequest
  */
 public function createFromValueObject(GithubRepo $githubRepo, PullRequest $pullRequestValueObject)
 {
     $githubPullRequest = new GithubPullRequest();
     $githubPullRequest->setRepo($githubRepo);
     $githubPullRequest->setNumber($pullRequestValueObject->getNumber());
     $githubPullRequest->setTitle($pullRequestValueObject->getTitle());
     $githubPullRequest->setBody($pullRequestValueObject->getBody());
     $githubPullRequest->setState(GithubPullRequestState::convert($pullRequestValueObject->getState()));
     $githubPullRequest->setLocked($pullRequestValueObject->isLocked());
     $githubPullRequest->setMerged($pullRequestValueObject->isMerged());
     $githubPullRequest->setGithubCreatedAt($pullRequestValueObject->getGithubCreatedAt());
     $githubPullRequest->setGithubUpdatedAt($pullRequestValueObject->getGithubUpdatedAt());
     $this->mapper->map($pullRequestValueObject, $githubPullRequest);
     return $githubPullRequest;
 }