for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace 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;