diff options
| author | polo <ordipolo@gmx.fr> | 2024-08-13 23:45:21 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2024-08-13 23:45:21 +0200 |
| commit | bf6655a534a6775d30cafa67bd801276bda1d98d (patch) | |
| tree | c6381e3f6c81c33eab72508f410b165ba05f7e9c /vendor/psr/container | |
| parent | 94d67a4b51f8e62e7d518cce26a526ae1ec48278 (diff) | |
| download | AppliGestionPHP-bf6655a534a6775d30cafa67bd801276bda1d98d.tar.gz AppliGestionPHP-bf6655a534a6775d30cafa67bd801276bda1d98d.tar.bz2 AppliGestionPHP-bf6655a534a6775d30cafa67bd801276bda1d98d.zip | |
VERSION 0.2 doctrine ORM et entités
Diffstat (limited to 'vendor/psr/container')
| -rw-r--r-- | vendor/psr/container/.gitignore | 3 | ||||
| -rw-r--r-- | vendor/psr/container/LICENSE | 21 | ||||
| -rw-r--r-- | vendor/psr/container/README.md | 13 | ||||
| -rw-r--r-- | vendor/psr/container/composer.json | 27 | ||||
| -rw-r--r-- | vendor/psr/container/src/ContainerExceptionInterface.php | 12 | ||||
| -rw-r--r-- | vendor/psr/container/src/ContainerInterface.php | 36 | ||||
| -rw-r--r-- | vendor/psr/container/src/NotFoundExceptionInterface.php | 10 |
7 files changed, 122 insertions, 0 deletions
diff --git a/vendor/psr/container/.gitignore b/vendor/psr/container/.gitignore new file mode 100644 index 0000000..b2395aa --- /dev/null +++ b/vendor/psr/container/.gitignore | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | composer.lock | ||
| 2 | composer.phar | ||
| 3 | /vendor/ | ||
diff --git a/vendor/psr/container/LICENSE b/vendor/psr/container/LICENSE new file mode 100644 index 0000000..2877a48 --- /dev/null +++ b/vendor/psr/container/LICENSE | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | The MIT License (MIT) | ||
| 2 | |||
| 3 | Copyright (c) 2013-2016 container-interop | ||
| 4 | Copyright (c) 2016 PHP Framework Interoperability Group | ||
| 5 | |||
| 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
| 7 | this software and associated documentation files (the "Software"), to deal in | ||
| 8 | the Software without restriction, including without limitation the rights to | ||
| 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
| 10 | the Software, and to permit persons to whom the Software is furnished to do so, | ||
| 11 | subject to the following conditions: | ||
| 12 | |||
| 13 | The above copyright notice and this permission notice shall be included in all | ||
| 14 | copies or substantial portions of the Software. | ||
| 15 | |||
| 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
| 18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
| 19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
| 20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
| 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
diff --git a/vendor/psr/container/README.md b/vendor/psr/container/README.md new file mode 100644 index 0000000..1b9d9e5 --- /dev/null +++ b/vendor/psr/container/README.md | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | Container interface | ||
| 2 | ============== | ||
| 3 | |||
| 4 | This repository holds all interfaces related to [PSR-11 (Container Interface)][psr-url]. | ||
| 5 | |||
| 6 | Note that this is not a Container implementation of its own. It is merely abstractions that describe the components of a Dependency Injection Container. | ||
| 7 | |||
| 8 | The installable [package][package-url] and [implementations][implementation-url] are listed on Packagist. | ||
| 9 | |||
| 10 | [psr-url]: https://www.php-fig.org/psr/psr-11/ | ||
| 11 | [package-url]: https://packagist.org/packages/psr/container | ||
| 12 | [implementation-url]: https://packagist.org/providers/psr/container-implementation | ||
| 13 | |||
diff --git a/vendor/psr/container/composer.json b/vendor/psr/container/composer.json new file mode 100644 index 0000000..baf6cd1 --- /dev/null +++ b/vendor/psr/container/composer.json | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | { | ||
| 2 | "name": "psr/container", | ||
| 3 | "type": "library", | ||
| 4 | "description": "Common Container Interface (PHP FIG PSR-11)", | ||
| 5 | "keywords": ["psr", "psr-11", "container", "container-interop", "container-interface"], | ||
| 6 | "homepage": "https://github.com/php-fig/container", | ||
| 7 | "license": "MIT", | ||
| 8 | "authors": [ | ||
| 9 | { | ||
| 10 | "name": "PHP-FIG", | ||
| 11 | "homepage": "https://www.php-fig.org/" | ||
| 12 | } | ||
| 13 | ], | ||
| 14 | "require": { | ||
| 15 | "php": ">=7.4.0" | ||
| 16 | }, | ||
| 17 | "autoload": { | ||
| 18 | "psr-4": { | ||
| 19 | "Psr\\Container\\": "src/" | ||
| 20 | } | ||
| 21 | }, | ||
| 22 | "extra": { | ||
| 23 | "branch-alias": { | ||
| 24 | "dev-master": "2.0.x-dev" | ||
| 25 | } | ||
| 26 | } | ||
| 27 | } | ||
diff --git a/vendor/psr/container/src/ContainerExceptionInterface.php b/vendor/psr/container/src/ContainerExceptionInterface.php new file mode 100644 index 0000000..0f213f2 --- /dev/null +++ b/vendor/psr/container/src/ContainerExceptionInterface.php | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | namespace Psr\Container; | ||
| 4 | |||
| 5 | use Throwable; | ||
| 6 | |||
| 7 | /** | ||
| 8 | * Base interface representing a generic exception in a container. | ||
| 9 | */ | ||
| 10 | interface ContainerExceptionInterface extends Throwable | ||
| 11 | { | ||
| 12 | } | ||
diff --git a/vendor/psr/container/src/ContainerInterface.php b/vendor/psr/container/src/ContainerInterface.php new file mode 100644 index 0000000..b2cad40 --- /dev/null +++ b/vendor/psr/container/src/ContainerInterface.php | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Psr\Container; | ||
| 6 | |||
| 7 | /** | ||
| 8 | * Describes the interface of a container that exposes methods to read its entries. | ||
| 9 | */ | ||
| 10 | interface ContainerInterface | ||
| 11 | { | ||
| 12 | /** | ||
| 13 | * Finds an entry of the container by its identifier and returns it. | ||
| 14 | * | ||
| 15 | * @param string $id Identifier of the entry to look for. | ||
| 16 | * | ||
| 17 | * @throws NotFoundExceptionInterface No entry was found for **this** identifier. | ||
| 18 | * @throws ContainerExceptionInterface Error while retrieving the entry. | ||
| 19 | * | ||
| 20 | * @return mixed Entry. | ||
| 21 | */ | ||
| 22 | public function get(string $id); | ||
| 23 | |||
| 24 | /** | ||
| 25 | * Returns true if the container can return an entry for the given identifier. | ||
| 26 | * Returns false otherwise. | ||
| 27 | * | ||
| 28 | * `has($id)` returning true does not mean that `get($id)` will not throw an exception. | ||
| 29 | * It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`. | ||
| 30 | * | ||
| 31 | * @param string $id Identifier of the entry to look for. | ||
| 32 | * | ||
| 33 | * @return bool | ||
| 34 | */ | ||
| 35 | public function has(string $id): bool; | ||
| 36 | } | ||
diff --git a/vendor/psr/container/src/NotFoundExceptionInterface.php b/vendor/psr/container/src/NotFoundExceptionInterface.php new file mode 100644 index 0000000..650bf46 --- /dev/null +++ b/vendor/psr/container/src/NotFoundExceptionInterface.php | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | namespace Psr\Container; | ||
| 4 | |||
| 5 | /** | ||
| 6 | * No entry was found in the container. | ||
| 7 | */ | ||
| 8 | interface NotFoundExceptionInterface extends ContainerExceptionInterface | ||
| 9 | { | ||
| 10 | } | ||
