matthew / starship.toml
0 likes
0 forks
1 files
Last active 2 years ago
My starship.toml configuration
| 1 | # Get editor completions based on the config schema |
| 2 | "$schema" = 'https://starship.rs/config-schema.json' |
| 3 | |
| 4 | # format = '$all' |
| 5 | |
| 6 | # The character is nf-pl-left_hard_divider, UTF8 #e0b0 |
| 7 | # (The equivalent pointing the other direction is #e0b2) |
| 8 | |
| 9 | # This was the first line of the format previously |
| 10 | # [░▒▓](#073642)\ |
matthew / ConfigProvider.php
0 likes
0 forks
4 files
Last active 4 months ago
An example of attaching a delegator factory to the Mezzio RouteCollectorInterface to automate route registration.
| 1 | <?php |
| 2 | |
| 3 | namespace SomeModule; |
| 4 | |
| 5 | use Laminas\Stdlib\ArrayUtils\MergeRemoveKey; |
| 6 | use Mezzio\Router\RouteCollectorInterface; |
| 7 | |
| 8 | class ConfigProvider |
| 9 | { |
| 10 | public function __invoke(): array |
Newer
Older