begin() public static méthode

This method creates an instance of the calling class. It will apply the configuration to the created instance. A matching Widget::end call should be called later.
public static begin ( array $config = [] ) : static
$config array name-value pairs that will be used to initialize the object properties
Résultat static the newly created widget instance
Exemple #1
0
 public static function begin($config = [])
 {
     parent::begin($config);
     ob_start();
     ob_implicit_flush(false);
 }