示例#1
0
 /**
  * Add role
  *
  * @param  \AppBundle\Entity\Role $role
  * @return Performance
  */
 public function addRole(\AppBundle\Entity\Role $role)
 {
     $role->setPerformance($this);
     $this->roles[] = $role;
     return $this;
 }