src/Callbacks/CreateSelectOptionValueCallback.php
public function handle(AttributeCodeAndValueAwareObserverInterface $observer)
    {

        // set the observer
        $this->setObserver($observer);

        // load the attribute code and value
        $attributeCode = $observer->getAttributeCode();
        $attributeValue = $observer->getAttributeValue();

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

        // create the option + swatch/value if necessary
        $this->getOptionValueAndSwatchHandler()->createOptionValueOrSwatchIfNecessary($attributeCode, $storeId, $attributeValue);

        // return the attribute value
        return $attributeValue;
    }
public function handle(AttributeCodeAndValueAwareObserverInterface $observer)
    {

        // set the observer
        $this->setObserver($observer);

        // load the attribute code and value
        $attributeCode = $observer->getAttributeCode();
        $attributeValue = $observer->getAttributeValue();

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

        // create the option + swatch/value if necessary
        $this->getOptionValueAndSwatchHandler()->createOptionValueOrSwatchIfNecessary($attributeCode, $storeId, $attributeValue);

        // return the attribute value
        return $attributeValue;
    }
Will be invoked by a observer it has been registered for.

@param \TechDivision\Import\Observers\ObserverInterface $observer The observer

@return mixed The modified value