Automattic\WooCommerce\Vendor\League\Container\Argument

ClassName{}WC 1.0

No Hooks.

Usage

$ClassName = new ClassName();
// use class methods

Methods

  1. public __construct(string $value)
  2. public getClassName()

ClassName{} code WC 8.7.0

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