Automattic\WooCommerce\Vendor\League\Container\Argument
ClassNameWithOptionalValue::__construct() public WC 1.0
{} Это метод класса: ClassNameWithOptionalValue{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$ClassNameWithOptionalValue = new ClassNameWithOptionalValue(); $ClassNameWithOptionalValue->__construct( $className, $optionalValue );
- $className(строка) (обязательный)
- -
- $optionalValue(разное) (обязательный)
- -
Код ClassNameWithOptionalValue::__construct() ClassNameWithOptionalValue:: construct WC 5.0.0
public function __construct(string $className, $optionalValue)
{
$this->className = $className;
$this->optionalValue = $optionalValue;
}