src/Controller/Component/SetupComponent.php
public function setLayout($layout) {
		if (!$layout) {
			$this->request->getSession()->delete('Setup.layout');
			return;
		}
		$this->request->getSession()->write('Setup.layout', $layout);
	}
public function setLayout($layout) {
		if (!$layout) {
			$this->request->getSession()->delete('Setup.layout');
			return;
		}
		$this->request->getSession()->write('Setup.layout', $layout);
	}
public function setLayout ( $ layout ) { if ( ! $ layout ) { $ this -> request -> getSession ( ) -> delete ( 'Setup.layout' ) ; return ; } $ this -> request -> getSession ( ) -> write ( 'Setup.layout' , $ layout ) ; }
Set layout for this session.

@param string $layout
@return void
Set layout for this session .