Automattic\WooCommerce\Vendor\League\Container\Argument
ClassName{}
Хуков нет.
Использование
$ClassName = new ClassName(); // use class methods
Методы
- public __construct(string $value)
- public getClassName()
Код ClassName{} ClassName{} WC 7.5.1
class ClassName implements ClassNameInterface { /** * @var string */ protected $value; /** * Construct. * * @param string $value */ public function __construct(string $value) { $this->value = $value; } /** * {@inheritdoc} */ public function getClassName() : string { return $this->value; } }