Mapping/PropertyDefinition.php
public function addOperation(OperationDefinition $operation)
    {
        if (false === $this->supportsOperation($operation->getName())) {
            $this->operations[] = $operation;
        }

        return $this;
    }
public function addOperation(OperationDefinition $operation)
    {
        if (false === $this->supportsOperation($operation->getName())) {
            $this->operations[] = $operation;
        }

        return $this;
    }
Adds an operation known to be supported by instances of this property

@param array $operations The operation known to be supported by
instances of this property.

@return PropertyMetadata $this