Webroot problem in cakephp 3

https://book.cakephp.org/3.0/en/controllers/request-response.html#path-information

$request->getAttribute('webroot');