setAnnotation() 공개 메소드

public setAnnotation ( Annotation $annotation )
$annotation Wallabag\AnnotationBundle\Entity\Annotation
예제 #1
0
 /**
  * Set entry.
  *
  * @param Entry $entry
  *
  * @return Annotation
  */
 public function setEntry($entry)
 {
     $this->entry = $entry;
     $entry->setAnnotation($this);
     return $this;
 }