src/Services/AttributeBunchProcessor.php
public function loadAttributeOptionSwatchByEntityTypeIdAndAttributeCodeAndStoreIdAndValueAndType($entityTypeId, $attributeCode, $storeId, $value, $type)
    {
        return $this->getAttributeOptionSwatchRepository()->findOneByEntityTypeIdAndAttributeCodeAndStoreIdAndValueAndType($entityTypeId, $attributeCode, $storeId, $value, $type);
    }
public function loadAttributeOptionSwatchByEntityTypeIdAndAttributeCodeAndStoreIdAndValueAndType($entityTypeId, $attributeCode, $storeId, $value, $type)
    {
        return $this->getAttributeOptionSwatchRepository()->findOneByEntityTypeIdAndAttributeCodeAndStoreIdAndValueAndType($entityTypeId, $attributeCode, $storeId, $value, $type);
    }
Load's and return's the EAV attribute option swatch with the passed code, store ID, value and type.

@param string  $entityTypeId  The entity type ID of the EAV attribute to load th option for
@param string  $attributeCode The code of the EAV attribute option swatch to load
@param integer $storeId       The store ID of the attribute option swatch to load
@param string  $value         The value of the attribute option swatch to load
@param string  $type          The type of the attribute option swatch to load

@return array The EAV attribute option swatch