diff options
| author | polo <ordipolo@gmx.fr> | 2026-10-18 00:08:23 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-10-18 00:10:03 +0200 |
| commit | 05e38eadbeb3de19e5b26003c2b401e00bb71df4 (patch) | |
| tree | cf48350b69cfce92de6f3a0e03eb0876931c7077 /vendor/doctrine/instantiator/README.md | |
| parent | 32843e50aa981f190bdb4fbc9adbeacc06fdf775 (diff) | |
| download | AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.gz AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.bz2 AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.zip | |
sortie de vendor du dépôt, oubli dans config-template.ini
Diffstat (limited to 'vendor/doctrine/instantiator/README.md')
| -rw-r--r-- | vendor/doctrine/instantiator/README.md | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/vendor/doctrine/instantiator/README.md b/vendor/doctrine/instantiator/README.md deleted file mode 100644 index 1fa9567..0000000 --- a/vendor/doctrine/instantiator/README.md +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | # Instantiator | ||
| 2 | |||
| 3 | This library provides a way of avoiding usage of constructors when instantiating PHP classes. | ||
| 4 | |||
| 5 | [](https://travis-ci.org/doctrine/instantiator) | ||
| 6 | [](https://codecov.io/gh/doctrine/instantiator/branch/master) | ||
| 7 | [](https://www.versioneye.com/package/php--doctrine--instantiator) | ||
| 8 | |||
| 9 | [](https://packagist.org/packages/doctrine/instantiator) | ||
| 10 | [](https://packagist.org/packages/doctrine/instantiator) | ||
| 11 | |||
| 12 | ## Installation | ||
| 13 | |||
| 14 | The suggested installation method is via [composer](https://getcomposer.org/): | ||
| 15 | |||
| 16 | ```sh | ||
| 17 | composer require doctrine/instantiator | ||
| 18 | ``` | ||
| 19 | |||
| 20 | ## Usage | ||
| 21 | |||
| 22 | The instantiator is able to create new instances of any class without using the constructor or any API of the class | ||
| 23 | itself: | ||
| 24 | |||
| 25 | ```php | ||
| 26 | $instantiator = new \Doctrine\Instantiator\Instantiator(); | ||
| 27 | |||
| 28 | $instance = $instantiator->instantiate(\My\ClassName\Here::class); | ||
| 29 | ``` | ||
| 30 | |||
| 31 | ## Contributing | ||
| 32 | |||
| 33 | Please read the [CONTRIBUTING.md](CONTRIBUTING.md) contents if you wish to help out! | ||
| 34 | |||
| 35 | ## Credits | ||
| 36 | |||
| 37 | This library was migrated from [ocramius/instantiator](https://github.com/Ocramius/Instantiator), which | ||
| 38 | has been donated to the doctrine organization, and which is now deprecated in favour of this package. | ||
