Example #1
0
 /**
  * @param Owner $owner
  *
  * @return boolean
  */
 public function isOwnerOrContributor(Owner $owner)
 {
     if ($this->owner instanceof Developer && $this->owner->isEqualTo($owner)) {
         return true;
     }
     return $this->contributors->contains($owner);
 }