/home/kueuepay/www/vendor/spatie/backtrace/src/Arguments/ReducedArgument/UnReducedArgument.php
<?php

namespace Spatie\Backtrace\Arguments\ReducedArgument;

class UnReducedArgument implements ReducedArgumentContract
{
    /** @var self|null */
    private static $instance = null;

    private function __construct()
    {
    }

    public static function create(): self
    {
        if (self::$instance !== null) {
            return self::$instance;
        }

        return self::$instance = new self();
    }
}
Examples

Examples

For code examples and implementation guides, please refer to the “Examples” section on our developer portal. Go to GitHub Repository