Nelmio\Alice\Definition\Value\UniqueValue::getValue PHP Method

getValue() public method

public getValue ( )
    public function getValue()
    {
        return deep_clone($this->value);
    }

Usage Example

Beispiel #1
0
 public function add(UniqueValue $value)
 {
     $valueId = $value->getId();
     if (false === array_key_exists($valueId, $this->pool)) {
         $this->pool[$valueId] = [];
     }
     $this->pool[$valueId][] = $value->getValue();
 }
All Usage Examples Of Nelmio\Alice\Definition\Value\UniqueValue::getValue