Nelmio\Alice\Definition\Value\UniqueValue::getValue PHP Метод

getValue() публичный Метод

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

Usage Example

Пример #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