DefaultValueArgument.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;
}
}