Your IP : 18.116.49.143


Current Path : /home/lentoinv/test.api.lentoria.com/vendor/myclabs/deep-copy/src/DeepCopy/
Upload File :
Current File : //home/lentoinv/test.api.lentoria.com/vendor/myclabs/deep-copy/src/DeepCopy/deep_copy.php

<?php

namespace DeepCopy;

use function function_exists;

if (false === function_exists('DeepCopy\deep_copy')) {
    /**
     * Deep copies the given value.
     *
     * @param mixed $value
     * @param bool  $useCloneMethod
     *
     * @return mixed
     */
    function deep_copy($value, $useCloneMethod = false)
    {
        return (new DeepCopy($useCloneMethod))->copy($value);
    }
}

?>