src/Observers/AttributeOptionValueObserver.php
protected function prepareAttributes()
    {

        // load the option ID
        $optionId = $this->getLastOptionId();

        // load the store ID
        $storeId = $this->getRowStoreId(StoreViewCodes::ADMIN);

        // load the attribute option value
        $value = $this->getValue(ColumnKeys::VALUE);

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

        // load the option ID
        $optionId = $this->getLastOptionId();

        // load the store ID
        $storeId = $this->getRowStoreId(StoreViewCodes::ADMIN);

        // load the attribute option value
        $value = $this->getValue(ColumnKeys::VALUE);

        // return the prepared attribute option
        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.

@return array The prepared attributes