lithium\action\Controller::set PHP Метод

set() публичный Метод

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.
Результат void
    public function set($data = array())
    {
        $this->_render['data'] = (array) $data + $this->_render['data'];
    }