scaffold/src
Victor Westerlund e1d3a09966 refactor: include Vegvisir source files from Reflect as a function (#3)
I know we just merged #2 and released verison 1.1.0 where the Vegvisir/Reflect crosstalk was supposed to be a class. But after using this briefly, I feel like it gets too verbose. This function will be called _a lot_ and therefore I think it should be pretty quick to type - just like the Vegvisir `VV` class.

Instead of typing
```php
use vlw\Scaffold\Scaffold;

Scaffold::include("some/file.php");
```
we can instead type
```php
use function vlw\Scaffold\load;

load("some/file.php");
```

Reviewed-on: https://codeberg.org/vlw/scaffold/pulls/3
2025-10-31 10:08:32 +01:00
..
API feat: add dedicated class for crosstalk between Vegvisir and Reflect (#2) 2025-10-30 17:41:31 +01:00
Database fix: namespace and relative source import paths (#1) 2025-10-30 09:18:02 +01:00
Helpers fix: namespace and relative source import paths (#1) 2025-10-30 09:18:02 +01:00
Scaffold.php refactor: include Vegvisir source files from Reflect as a function (#3) 2025-10-31 10:08:32 +01:00