psr 11 container interface online with Winfy
We have hosted the application psr 11 container interface in order to run this application in our online workstations with Wine or directly.
Quick description about psr 11 container interface:
The goal set by ContainerInterface is to standardize how frameworks and libraries make use of a container to obtain objects and parameters. An entry identifier is any PHP-legal string of at least one character that uniquely identifies an item within a container. An entry identifier is an opaque string, so callers should not assume that the structure of the string carries any semantic meaning. The Psr\Container\ContainerInterface exposes two methods, get and has. get takes one mandatory parameter: an entry identifier, which must be a string. get can return anything (a mixed value), or throw a NotFoundExceptionInterface if the identifier is not known to the container. Two successive calls to get with the same identifier should return the same value. has takes one unique parameter: an entry identifier, which must be a string. has must return true if an entry identifier is known to the container and false if it is not.Features:
- The interfaces and classes described as well as relevant exceptions are provided as part of the psr/container package
- Standardize how frameworks and libraries make use of a container to obtain objects and parameters
- All containers offer a method to get an entry by its id
- Compatible with existing containers that have additional optional parameters
- PHP allows an implementation to offer more parameters as long as they are optional
- This PSR provides 2 interfaces meant to be implemented by container exceptions
Programming Language: PHP.
.
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.