src/Repositories/EavAttributeRepository.php
public function findAllByOptionValueAndStoreId($optionValue, $storeId)
    {

        // initialize the params
        $params = array(
            MemberNames::VALUE    => $optionValue,
            MemberNames::STORE_ID => $storeId
        );

        // execute the prepared statement and return the array with the EAV attributes
        $this->eavAttributesByOptionValueAndStoreIdStmt->execute($params);
        return $this->eavAttributesByOptionValueAndStoreIdStmt->fetchAll(\PDO::FETCH_ASSOC);
    }
public function findAllByOptionValueAndStoreId($optionValue, $storeId)
    {

        // initialize the params
        $params = array(
            MemberNames::VALUE    => $optionValue,
            MemberNames::STORE_ID => $storeId
        );

        // execute the prepared statement and return the array with the EAV attributes
        $this->eavAttributesByOptionValueAndStoreIdStmt->execute($params);
        return $this->eavAttributesByOptionValueAndStoreIdStmt->fetchAll(\PDO::FETCH_ASSOC);
    }
Return's an array with the available EAV attributes for the passed option value and store ID.

@param string $optionValue The option value of the EAV attributes
@param string $storeId     The store ID of the EAV attribues

@return array The array with all available EAV attributes