예제 #1
0
파일: Vampire.php 프로젝트: scheb/tombstone
 /**
  * @return string
  */
 public function getAuthor()
 {
     return $this->tombstone->getAuthor();
 }
예제 #2
0
 /**
  * @param Tombstone $tombstone
  *
  * @return bool
  */
 public function inscriptionEquals(Tombstone $tombstone)
 {
     return $tombstone->getAuthor() === $this->author && $tombstone->getTombstoneDate() === $this->tombstoneDate && $tombstone->getLabel() === $this->label;
 }