public function addIdentifyingProperty($property)
    {
        if ($property->isSerializable()) {
            $this->_identifying_properties[$property->getName()] = $property;
        }

        //the proeprty as required
        $property->setRequired(true);

        return $this;
    }
public function addIdentifyingProperty($property)
    {
        if ($property->isSerializable()) {
            $this->_identifying_properties[$property->getName()] = $property;
        }

        //the proeprty as required
        $property->setRequired(true);

        return $this;
    }
public function addIdentifyingProperty ( $ property ) { if ( $ property -> isSerializable ( ) ) { $ this -> _identifying_properties [ $ property -> getName ( ) ] = $ property ; } //the proeprty as required $ property -> setRequired ( true ) ; return $ this ; }
Add a property that can uniquely identifies a property. This property is
set to required and its value be unique.

@param AnDomainPropertyKeyable $property The property to be used as the key
Add a property that can uniquely identifies a property . This property is set to required and its value be unique .