updated-packages
This commit is contained in:
23
vendor/myclabs/deep-copy/README.md
vendored
23
vendor/myclabs/deep-copy/README.md
vendored
@@ -2,22 +2,15 @@
|
||||
|
||||
DeepCopy helps you create deep copies (clones) of your objects. It is designed to handle cycles in the association graph.
|
||||
|
||||
[](https://travis-ci.org/myclabs/DeepCopy)
|
||||
[](https://coveralls.io/r/myclabs/DeepCopy?branch=1.x)
|
||||
[](https://scrutinizer-ci.com/g/myclabs/DeepCopy/)
|
||||
[](https://packagist.org/packages/myclabs/deep-copy)
|
||||
|
||||
|
||||
**You are browsing the 1.x version, this version is in maintenance mode only. Please check the new
|
||||
[2.x](https://github.com/myclabs/DeepCopy/tree/2.x) version.**
|
||||
|
||||
[](https://github.com/myclabs/DeepCopy/actions)
|
||||
|
||||
## Table of Contents
|
||||
|
||||
1. [How](#how)
|
||||
1. [Why](#why)
|
||||
1. [Using simply `clone`](#using-simply-clone)
|
||||
1. [Overridding `__clone()`](#overridding-__clone)
|
||||
1. [Overriding `__clone()`](#overriding-__clone)
|
||||
1. [With `DeepCopy`](#with-deepcopy)
|
||||
1. [How it works](#how-it-works)
|
||||
1. [Going further](#going-further)
|
||||
@@ -42,11 +35,11 @@ DeepCopy helps you create deep copies (clones) of your objects. It is designed t
|
||||
|
||||
Install with Composer:
|
||||
|
||||
```json
|
||||
```
|
||||
composer require myclabs/deep-copy
|
||||
```
|
||||
|
||||
Use simply:
|
||||
Use it:
|
||||
|
||||
```php
|
||||
use DeepCopy\DeepCopy;
|
||||
@@ -81,9 +74,9 @@ Now you're in for a big mess :(
|
||||

|
||||
|
||||
|
||||
### Overridding `__clone()`
|
||||
### Overriding `__clone()`
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
### With `DeepCopy`
|
||||
@@ -374,3 +367,7 @@ Running the tests is simple:
|
||||
```php
|
||||
vendor/bin/phpunit
|
||||
```
|
||||
|
||||
### Support
|
||||
|
||||
Get professional support via [the Tidelift Subscription](https://tidelift.com/subscription/pkg/packagist-myclabs-deep-copy?utm_source=packagist-myclabs-deep-copy&utm_medium=referral&utm_campaign=readme).
|
||||
|
||||
Reference in New Issue
Block a user