Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description


null section(string $name, string $route)


Sets the sections title.

Parameters


$name

Name of the section.

$route

URL route to the section.

Examples


route('/foo', function() {

   section('Foo', '/foo');

   return view('index.html');
});
  • No labels