Skip to content

Commit

Permalink
Raise stability, add description to FileRouter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Jun 23, 2024
1 parent d52295d commit 5fa2ee9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
"url": "https://github.com/sponsors/yiisoft"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.1",
"ext-mbstring": "*",
Expand Down
3 changes: 3 additions & 0 deletions src/FileRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
use Psr\Http\Server\RequestHandlerInterface;
use Yiisoft\Middleware\Dispatcher\MiddlewareDispatcher;

/**
* Provides a convention-based router middleware that chooses controller based on its namespace and class name.
*/
final class FileRouter implements MiddlewareInterface
{
private string $baseControllerDirectory = 'Controller';
Expand Down

0 comments on commit 5fa2ee9

Please sign in to comment.