Skip to content

Commit 1c7ec31

Browse files
committed
fix: even more dead links
1 parent ab11009 commit 1c7ec31

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

src/Web/Blog/articles/2024-10-02-alpha-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ final readonly class RssController
9999
}
100100
```
101101

102-
You can read all the details about caching [in the docs](/main/tempest-in-depth/caching).
102+
You can read all the details about caching [in the docs](/main/features/cache).
103103

104104
## Discovery improvements
105105

src/Web/Blog/articles/2024-11-25-alpha-4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ I'll share some more updates about the coming months at the end of this post, bu
1111

1212
## Asynchronous Commands
1313

14-
Async commands are a new feature in Tempest that allow developers to handle tasks in a background process. Tempest already came with a [command bus](/main/tempest-in-depth/commands) before this release, and running commands asynchronously is as easy as adding the `#[AsyncCommand]` attribute to a command class.
14+
Async commands are a new feature in Tempest that allow developers to handle tasks in a background process. Tempest already came with a [command bus](/main/essentials/console-commands) before this release, and running commands asynchronously is as easy as adding the `#[AsyncCommand]` attribute to a command class.
1515

1616
```php
1717
// app/SendMail.php

src/Web/Blog/articles/2025-03-13-request-objects-in-tempest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class BookData
2424
}
2525
```
2626

27-
It doesn't get much simpler than this, right? We have an object representing the fields we expect from the request. Now how do we get the request data into that object? There are several ways of doing so. I'll start by showing the most verbose way, mostly to understand what's going on. This approach makes use of the `map()` function. Tempest has a built-in [mapper component](/main/2-tempest-in-depth/01-mapper), which is responsible to map data from one point to another. It could from an array to an object, object to json, one class to another, … Or, in our case: the request to our data object.
27+
It doesn't get much simpler than this, right? We have an object representing the fields we expect from the request. Now how do we get the request data into that object? There are several ways of doing so. I'll start by showing the most verbose way, mostly to understand what's going on. This approach makes use of the `map()` function. Tempest has a built-in [mapper component](/main/features/mapper), which is responsible to map data from one point to another. It could from an array to an object, object to json, one class to another, … Or, in our case: the request to our data object.
2828

2929
Here's what that looks like in practice:
3030

src/Web/Blog/articles/2025-05-08-beta-1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ final readonly class OverviewMiddleware implements ConsoleMiddleware
207207
Finishing with a couple of smaller changes, but it's these kinds of small details that make the difference in the long run. So thanks to everyone who contributed:
208208

209209
- We've added a couple of new commands: `make:migration` and `container:show`
210-
- We've added testing utilities for our [event bus](/main/tempest-in-depth/events)
210+
- We've added testing utilities for our [event bus](/main/features/events)
211211
- There's a new `Back` response class to redirect to the previous page
212212
- We now allow controllers to also return strings and arrays directly
213-
- We've added a [new storage component](/main/tempest-in-depth/storage), which is a slim wrapper around [Flysystem](https://flysystem.thephpleague.com/docs/)
213+
- We've added a [new storage component](/main/features/file-storage), which is a slim wrapper around [Flysystem](https://flysystem.thephpleague.com/docs/)
214214
- And, [a lot more](https://github.com/tempestphp/tempest-framework/releases/tag/v1.0.0-beta.1)
215215

216216
## In closing

src/Web/Documentation/content/main/0-getting-started/01-introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final readonly class BookController
3737
}
3838
```
3939

40-
The above snippet is an example of a controller. It features [attribute-based routes](../1-essentials/02-controllers), mapping a request to a data object using the [mapper](../2-tempest-in-depth/01-mapper), [URL generation](../1-essentials/02-controllers#generating-uris) and [dependency injection](../1-essentials/01-container#autowired-dependencies).
40+
The above snippet is an example of a controller. It features [attribute-based routes](../1-essentials/01-routing.md), mapping a request to a data object using the [mapper](../2-features/01-mapper.md), [URL generation](../1-essentials/01-routing.md#generating-uris) and [dependency injection](../1-essentials/05-container.md#autowired-dependencies).
4141

4242
```php
4343
use Tempest\Console\Console;
@@ -85,7 +85,7 @@ final readonly class MigrateUpCommand
8585

8686
This is a [console command](../3-console/02-building-console-commands). Console commands can be defined in any class, as long as the {b`#[Tempest\Console\ConsoleCommand]`} attribute is used on a method. Command arguments are defined as the method's arguments, effectively removing the need to learn some specific framework syntax.
8787

88-
This example also shows how to [register events globally](../2-tempest-in-depth/03-events) using the {b`#[Tempest\EventBus\EventHandler]`}.
88+
This example also shows how to [register events globally](../2-features/08-events.md) using the {b`#[Tempest\EventBus\EventHandler]`}.
8989

9090
---
9191

src/Web/Documentation/content/main/1-essentials/03-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ final class Book
9393
}
9494
```
9595

96-
Such a model is not tied to the database. Tempest's [mapper](../2-tempest-in-depth/01-mapper) is able to map data from many different sources to such a model. For instance, you can specify the path to a JSON file or object to create an instance of a model, and the other way around.
96+
Such a model is not tied to the database. Tempest's [mapper](../2-features/01-mapper.md) is able to map data from many different sources to such a model. For instance, you can specify the path to a JSON file or object to create an instance of a model, and the other way around.
9797

9898
```php
9999
use function Tempest\map;

src/Web/Documentation/content/main/2-features/05-asset-bundling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ final class ConfigureViteNonce implements HttpMiddleware
162162
}
163163
```
164164

165-
The `register` method above is an [event handler](../2-tempest-in-depth/07-events) that is called when Tempest boots. It registers the middleware on the injected {`Tempest\Router\Router`} instance, effectively registering it for every route.
165+
The `register` method above is an [event handler](../2-features/08-events.md) that is called when Tempest boots. It registers the middleware on the injected {`Tempest\Router\Router`} instance, effectively registering it for every route.
166166

167167
Alternatively, you may also set the `nonce` directly in the event handler. However, keep in mind that this would be called every time the framework boots, even when only using console commands.
168168

0 commit comments

Comments
 (0)