public static function get() : array
  {
    return [
      'csrf_token' => CSRF::generate(),
      'errors' => Variable::has('validation.errors') ? Variable::get('validation.errors') : (new ValidatorFactory())->make([], [])->errors(),
      'old' => Variable::has('form.old') ? Variable::get('form.old') : [],
    ];
  }
public static function get() : array
  {
    return [
      'csrf_token' => CSRF::generate(),
      'errors' => Variable::has('validation.errors') ? Variable::get('validation.errors') : (new ValidatorFactory())->make([], [])->errors(),
      'old' => Variable::has('form.old') ? Variable::get('form.old') : [],
    ];
  }
public static function get ( ) : array { return [ 'csrf_token' => CSRF :: generate ( ) , 'errors' => Variable :: has ( 'validation.errors' ) ? Variable :: get ( 'validation.errors' ) : ( new ValidatorFactory ( ) ) -> make ( [ ] , [ ] ) -> errors ( ) , 'old' => Variable :: has ( 'form.old' ) ? Variable :: get ( 'form.old' ) : [ ] , ] ; }
Get global variables

@return array
Get global variables