public function update(SplSubject $subject)
    {
        if ($subject instanceof Model) {
            $this->data = \array_merge($this->data, $subject->get());
        }
    }
public function update(SplSubject $subject)
    {
        if ($subject instanceof Model) {
            $this->data = \array_merge($this->data, $subject->get());
        }
    }
public function update ( SplSubject $ subject ) { if ( $ subject instanceof Model ) { $ this -> data = \ array_merge ( $ this -> data , $ subject -> get ( ) ) ; } }
Update Observer data.

@param SplSubject $subject
Update Observer data .