src/actions/RenderAction.php
public function getParams()
    {
        $res = [];
        if ($this->_params instanceof Closure) {
            $res = call_user_func($this->_params, $this);
        } else {
            foreach ($this->_params as $k => $v) {
                $res[$k] = $v instanceof Closure ? call_user_func($v, $this, $this->getModel()) : $v;
            }
        }

        return array_merge($res, $this->prepareData($res));
    }
public function getParams()
    {
        $res = [];
        if ($this->_params instanceof Closure) {
            $res = call_user_func($this->_params, $this);
        } else {
            foreach ($this->_params as $k => $v) {
                $res[$k] = $v instanceof Closure ? call_user_func($v, $this, $this->getModel()) : $v;
            }
        }

        return array_merge($res, $this->prepareData($res));
    }
public function getParams ( ) { $ res = [ ] ; if ( $ this -> _params instanceof Closure ) { $ res = call_user_func ( $ this -> _params , $ this ) ; } else { foreach ( $ this -> _params as $ k => $ v ) { $ res [ $ k ] = $ v instanceof Closure ? call_user_func ( $ v , $ this , $ this -> getModel ( ) ) : $ v ; } } return array_merge ( $ res , $ this -> prepareData ( $ res ) ) ; }
Prepares params for rendering, executing callable functions.

@return array
Prepares params for rendering executing callable functions .