/**
 * Extend parent view.
 *
 * @param string $view View name to extend.
 * @param array  $data View data.
 * 
 * @return void Return void.
 */
public function extends(string $view, array $data = []): void

Examples

$view->extends('welcome', ['name' => 'Eleven']);