Automattic\WooCommerce\Vendor\League\Container\Argument

RawArgument{}WC 1.0

Хуков нет.

Использование

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

Методы

  1. public __construct($value)
  2. public getValue()

Код RawArgument{} WC 8.7.0

class RawArgument implements RawArgumentInterface
{
    /**
     * @var mixed
     */
    protected $value;

    /**
     * Construct.
     *
     * @param mixed $value
     */
    public function __construct($value)
    {
        $this->value = $value;
    }

    /**
     * {@inheritdoc}
     */
    public function getValue()
    {
        return $this->value;
    }
}