/**
 * Get section.
 *
 * @param string $section Section name.
 * @param mixed  $default Default data to display.
 * 
 * @return mixed
 */
public function getSection(string $section, $default = null)

Examples

echo $view->getSection('foo', 'bar');