Skip to content

Commit

Permalink
Merge pull request #169 from koriym/phpdoc
Browse files Browse the repository at this point in the history
Document the public bindings provided by modules
  • Loading branch information
koriym authored Mar 27, 2022
2 parents 5d9b77b + e060cc8 commit 064debe
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Module/SundayModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
use BEAR\Sunday\Provide\Transfer\HttpResponderModule;
use Ray\Di\AbstractModule;

/**
* Provides BEAR.Sunday base bindings
*/
class SundayModule extends AbstractModule
{
protected function configure(): void
Expand Down
8 changes: 8 additions & 0 deletions src/Provide/Router/RouterModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
use BEAR\Sunday\Extension\Router\RouterInterface;
use Ray\Di\AbstractModule;

/**
* Provides RouterInterface and derived bindings
*
* The following bindings are provided:
*
* RouterInterface
* -DefaultSchemeHost
*/
class RouterModule extends AbstractModule
{
protected function configure(): void
Expand Down
3 changes: 3 additions & 0 deletions src/Provide/Transfer/HttpCacheModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use BEAR\Sunday\Extension\Transfer\NullHttpCache;
use Ray\Di\AbstractModule;

/**
* Provides HttpCacheInterface bindings
*/
class HttpCacheModule extends AbstractModule
{
protected function configure(): void
Expand Down
9 changes: 9 additions & 0 deletions src/Provide/Transfer/HttpResponderModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
use BEAR\Sunday\Extension\Transfer\TransferInterface;
use Ray\Di\AbstractModule;

/**
* Provides TransferInterface and derived bindings
*
* The following bindings are provided:
*
* TransferInterface
* HeaderInterface
* ConditionalResponseInterface
*/
class HttpResponderModule extends AbstractModule
{
protected function configure(): void
Expand Down

0 comments on commit 064debe

Please sign in to comment.