framework/components/observer/traits/Subject.php
public function notify($type = 'default')
    {
        if (isset($this->observers[$type])) {
            foreach ($this->observers[$type] as $obs) {
                $obs->update($this);
            }
        }
        return $this;
    }
public function notify($type = 'default')
    {
        if (isset($this->observers[$type])) {
            foreach ($this->observers[$type] as $obs) {
                $obs->update($this);
            }
        }
        return $this;
    }
public function notify ( $ type = 'default' ) { if ( isset ( $ this -> observers [ $ type ] ) ) { foreach ( $ this -> observers [ $ type ] as $ obs ) { $ obs -> update ( $ this ) ; } } return $ this ; }
Notify observers by type

@param string $type
Notify observers by type