Preview: ClassNameWithOptionalValue.php
Size: 720 B
/var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/vendor/league/container/src/Argument/ClassNameWithOptionalValue.php
<?php
namespace Automattic\Kkart\Vendor\League\Container\Argument;
class ClassNameWithOptionalValue implements ClassNameInterface
{
/**
* @var string
*/
private $className;
/**
* @var mixed
*/
private $optionalValue;
/**
* @param string $className
* @param mixed $optionalValue
*/
public function __construct(string $className, $optionalValue)
{
$this->className = $className;
$this->optionalValue = $optionalValue;
}
/**
* @inheritDoc
*/
public function getClassName(): string
{
return $this->className;
}
public function getOptionalValue()
{
return $this->optionalValue;
}
}
Directory Contents
Dirs: 0 × Files: 7