예제 #1
0
 /**
  * {@inheritdoc}
  */
 public function greet(Person $person)
 {
     return sprintf($person->getName() . 'さん、%s。', $this->greetingPhraseMaker->phrase());
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function greet(Person $person)
 {
     return $person->getName() . 'ちゃん、ちーっすww';
 }