CakePhp 4 Changer la vue de disposition dans une méthode

//chnage the layout in Cakephp 4 with the layout file called ajax.php
$this->viewBuilder()->setLayout('ajax');
Fierce Falcon