src/Observers/AbstractProductRelationObserver.php
protected function prepareProductRelationAttributes()
    {

        // initialize and return the entity
        return $this->initializeEntity(
            array(
                MemberNames::PARENT_ID => $this->parentId,
                MemberNames::CHILD_ID  => $this->childId
            )
        );
    }
protected function prepareProductRelationAttributes()
    {

        // initialize and return the entity
        return $this->initializeEntity(
            array(
                MemberNames::PARENT_ID => $this->parentId,
                MemberNames::CHILD_ID  => $this->childId
            )
        );
    }
protected function prepareProductRelationAttributes ( ) { // initialize and return the entity return $ this -> initializeEntity ( array ( MemberNames :: PARENT_ID => $ this -> parentId , MemberNames :: CHILD_ID => $ this -> childId ) ) ; }
Prepare the product relation attributes that has to be persisted.

@return array The prepared product relation attributes
Prepare the product relation attributes that has to be persisted .