Tags: php-fig/container
Tags
psr/container 2.0.1 Removed ------- - Removes extension of `Throwable` in the `ContainerExceptionInterface` to prevent issues under PHP versions < 7.4, where having a concrete instance extend `Throwable` as well as `ContainerExceptionInterface` can lead to `E_FATAL`.
psr/container 1.1.1 Removed ------- - This release removes the extension of `Throwable` by `Psr\Container\ContainerInterface`, as it leads to inheritance issues when child classes implement the `Throwable` interface in addition to `ContainerInterface` under PHP versions prior to 7.4.
psr/container 1.1.0 Changed ------- - This release modifies `Psr\Container\ContainerExceptionInterface` to extend the `Throwable` interface, ensuring that any implementation can actually be thrown as an exception type (the original intention of the specification). - This release adds the `string` typehint to the `$id` argument of each of the `Psr\Container\ContainerInterface::get()` and `Psr\Container\ContainerInterface::has()` methods. These were previously documented in the annotations and specification, and are added to the interfaces as part of the [PSR-11 type additions errata](php-fig/fig-standards#1215). Removed ------- - This release removes support for PHP versions prior to 7.2.0.