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