Exemplo n.º 1
0
 /**
  * @return int
  */
 public function getBranchId()
 {
     return $this->branch->getId();
 }
 public static function fromBranch(Branch $branch)
 {
     $command = new self();
     $command->id = $branch->getId();
     $command->name = $branch->getName();
     $command->description = $branch->getDescription();
     $command->defaultAssignee = $branch->getDefaultAssignee();
     $command->tags = $branch->getTags();
     $command->logoFile = null;
     $command->logo = $branch->getLogo();
     return $command;
 }