Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- **BREAKING**: `DiscoveryManager` is now `final` (and `readonly`, its only property being the engine it was given) (CONV-08). A class that extends it no longer loads, and a test can no longer mock it with Mockery: build it over a `DiscoveryEngineInterface` (mocked or real), which is the one collaborator it has
- `CircularDependencyException` is now `final` (CONV-08). This is a restriction of the API for anyone who extended it: a class that is not an extension point can no longer be subclassed; compose it instead

## [0.2.0] - 2026-11-19
Expand Down
4 changes: 2 additions & 2 deletions src/Application/Services/DiscoveryManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
*
* Inspired by Tempest Framework's API while leveraging Spatie's structure discovery.
*/
class DiscoveryManager
final readonly class DiscoveryManager
{
/**
* Create a new discovery manager
*
* @param DiscoveryEngineInterface $engine The discovery engine
*/
public function __construct(
private readonly DiscoveryEngineInterface $engine
private DiscoveryEngineInterface $engine
) {}

/**
Expand Down
Loading