Files
2026-04-28 15:13:50 +02:00

25 lines
497 B
PHP

<?php
declare(strict_types=1);
namespace WCPay\Vendor\League\Container\Argument;
class DefaultValueArgument extends ResolvableArgument implements DefaultValueInterface
{
protected $defaultValue;
public function __construct(string $value, $defaultValue = null)
{
$this->defaultValue = $defaultValue;
parent::__construct($value);
}
/**
* @return mixed|null
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
}