lithium\action\Controller::set PHP Method

set() public method

This method is used to pass along any data from the controller to the view and layout
public set ( array $data = [] ) : void
$data array sets of ` => ` to pass to view layer.
return void
    public function set($data = array())
    {
        $this->_render['data'] = (array) $data + $this->_render['data'];
    }