Skip to content

Commit

Permalink
Add missing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Riimu committed Jul 31, 2018
1 parent 2d61bcb commit 2575f9d
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/ApplicationProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ public function getHttpClient(): HttpClient
}

/**
* Returns the Http factory for the purpose of filling the standard.
* Returns the standard Request factory.
* @param ContainerInterface $container The container used to resolve dependencies
* @return RequestFactoryInterface
* @return RequestFactoryInterface The standard Request factory
*/
public function getRequestFactory(ContainerInterface $container): RequestFactoryInterface
{
Expand All @@ -140,43 +140,47 @@ public function getRequestFactory(ContainerInterface $container): RequestFactory
/**
* Returns the standard Response Factory.
* @param ContainerInterface $container The container used to resolve dependencies
* @return ResponseFactoryInterface
* @return ResponseFactoryInterface The standard Response Factory
*/
public function getResponseFactory(ContainerInterface $container): ResponseFactoryInterface
{
return $container->get(HttpFactoryInterface::class);
}

/**
* Returns the standard ServerRequest Factory.
* @param ContainerInterface $container The container used to resolve dependencies
* @return ServerRequestFactoryInterface
* @return ServerRequestFactoryInterface The standard ServerRequest Factory
*/
public function getServerRequestFactory(ContainerInterface $container): ServerRequestFactoryInterface
{
return $container->get(HttpFactoryInterface::class);
}

/**
* Returns the standard Stream Factory.
* @param ContainerInterface $container The container used to resolve dependencies
* @return StreamFactoryInterface
* @return StreamFactoryInterface The standard Stream Factory
*/
public function getStreamFactory(ContainerInterface $container): StreamFactoryInterface
{
return $container->get(HttpFactoryInterface::class);
}

/**
* Returns the standard UploadedFile Factory.
* @param ContainerInterface $container The container used to resolve dependencies
* @return UploadedFileFactoryInterface
* @return UploadedFileFactoryInterface The standard UploadedFile Factory
*/
public function getUploadedFileFactory(ContainerInterface $container): UploadedFileFactoryInterface
{
return $container->get(HttpFactoryInterface::class);
}

/**
* Returns the standard Uri Factory.
* @param ContainerInterface $container The container used to resolve dependencies
* @return UriFactoryInterface
* @return UriFactoryInterface The standard Uri Factory
*/
public function getUriFactory(ContainerInterface $container): UriFactoryInterface
{
Expand Down

0 comments on commit 2575f9d

Please sign in to comment.