src/components/View.php
public function doBody()
    {
        if ($this->hasEventHandlers(self::EVENT_DO_BODY)) {
            $event = new ViewEvent([
                'content' => $this->_body,
            ]);
            $this->trigger(self::EVENT_DO_BODY, $event);
            $this->_body = $event->content;
        }
    }
public function doBody()
    {
        if ($this->hasEventHandlers(self::EVENT_DO_BODY)) {
            $event = new ViewEvent([
                'content' => $this->_body,
            ]);
            $this->trigger(self::EVENT_DO_BODY, $event);
            $this->_body = $event->content;
        }
    }
public function doBody ( ) { if ( $ this -> hasEventHandlers ( self :: EVENT_DO_BODY ) ) { $ event = new ViewEvent ( [ 'content' => $ this -> _body , ] ) ; $ this -> trigger ( self :: EVENT_DO_BODY , $ event ) ; $ this -> _body = $ event -> content ; } }
Content manipulation. Need for correct replacement shortcodes
Content manipulation . Need for correct replacement shortcodes