src/View/AbstractView.php
public function setVariables($variables = [])
    {
        foreach ($variables as $variable => $value) {
            $this->set($variable, $value);
        }
    }
public function setVariables($variables = [])
    {
        foreach ($variables as $variable => $value) {
            $this->set($variable, $value);
        }
    }
public function setVariables ( $ variables = [ ] ) { foreach ( $ variables as $ variable => $ value ) { $ this -> set ( $ variable , $ value ) ; } }
Set all variables

@param array $variables
Set all variables