예제 #1
0
파일: Cliente.php 프로젝트: he--/liquidaJp
 /**
  * @param \SplSubject $subject
  * @return string
  */
 public function update(\SplSubject $subject)
 {
     return $this->name . ' ' . $subject->getContent();
 }
예제 #2
0
 /**
  * @param \SplSubject $itemVenda
  */
 public function update(\SplSubject $itemVenda)
 {
     echo $this->name . ' Esta vendo o item ' . $itemVenda->getContent() . '</b><br>';
 }
예제 #3
0
 public function update(SplSubject $subject)
 {
     echo $this->name . ' regarde actuellement ' . $subject->getContent() . '</b><br>';
 }
예제 #4
0
 public function update(\SplSubject $subject)
 {
     echo $this->name . ' is reading breakout news <b>' . $subject->getContent() . '</b><br>';
 }
예제 #5
0
 public function update(\SplSubject $subject)
 {
     $this->handle($subject->getContent());
 }