/**
  * Transforms an id to gitLabProject object .
  *
  * @param Issue|null $id
  *
  * @return string
  */
 public function transform($id)
 {
     if (null === $id) {
         return null;
     }
     $gitlabProject = new GitlabProject();
     $gitlabProject->setId($id);
     //$gitLabProjectEntity->setName($gitLabProject['name']);
     return $gitlabProject;
 }
 /**
  * Transforms an issue array into an issue Entity object.
  *
  * @param array $gitLabProject
  *
  * @return \VersionControl\GitlabIssueBundle\Entity\GitlabProject|null
  */
 public function transform($gitLabProject)
 {
     if (null === $gitLabProject) {
         return null;
     }
     $gitLabProjectEntity = new GitlabProject();
     $gitLabProjectEntity->setId($gitLabProject['id']);
     $gitLabProjectEntity->setName($gitLabProject['name']);
     return $gitLabProjectEntity;
 }