src/Repositories/AttributeOptionSwatchRepository.php
public function findOneByOptionIdAndStoreId($optionId, $storeId)
    {

        // the parameters of the EAV attribute option to load
        $params = array(
            MemberNames::OPTION_ID => $optionId,
            MemberNames::STORE_ID  => $storeId,
        );

        // load and return the EAV attribute option swatch with the passed parameters
        $this->attributeOptionSwatchByOptionIdAndStoreIdStmt->execute($params);
        return $this->attributeOptionSwatchByOptionIdAndStoreIdStmt->fetch(\PDO::FETCH_ASSOC);
    }
public function findOneByOptionIdAndStoreId($optionId, $storeId)
    {

        // the parameters of the EAV attribute option to load
        $params = array(
            MemberNames::OPTION_ID => $optionId,
            MemberNames::STORE_ID  => $storeId,
        );

        // load and return the EAV attribute option swatch with the passed parameters
        $this->attributeOptionSwatchByOptionIdAndStoreIdStmt->execute($params);
        return $this->attributeOptionSwatchByOptionIdAndStoreIdStmt->fetch(\PDO::FETCH_ASSOC);
    }
Load's and return's the EAV attribute option swatch with the passed option ID and store ID

@param string  $optionId The option ID of the attribute option swatch to load
@param integer $storeId  The store ID of the attribute option swatch to load

@return array The EAV attribute option swatch