src/Callbacks/OptionValueAndSwatchHandler.php
protected function prepareAttributeOptionValue($optionId, $storeId, $value)
    {

        // return the prepared option value
        return $this->initializeEntity(
            array(
                MemberNames::OPTION_ID => $optionId,
                MemberNames::STORE_ID  => $storeId,
                MemberNames::VALUE     => $value
            )
        );
    }
protected function prepareAttributeOptionValue($optionId, $storeId, $value)
    {

        // return the prepared option value
        return $this->initializeEntity(
            array(
                MemberNames::OPTION_ID => $optionId,
                MemberNames::STORE_ID  => $storeId,
                MemberNames::VALUE     => $value
            )
        );
    }
Prepare the attributes of the entity that has to be persisted.

@param integer $optionId The option ID of the option value to create
@param integer $storeId  The store ID to create the option value for
@param mixed   $value    The option value itself

@return array The prepared option value