I am upgrading my cakephp version from 2.6.7 to 3.3.4. The following code was properly working to refer the home url:
<?php echo Router::url('/', true); ?>
But this not working in cakephp 3.3.4 and it shows the following error message:
Error: Class 'Router' not found
Which I missed? Thanks in advance.