How can i pass params to layout in twig

Hi

in php view i use $this->params[‘xyz’] = ‘Something’;

to pass xyz param to the layout

what is the equivalent method if am using twig?

thanks