src/Repositories/CategoryVarcharRepository.php
public function findByEntityId($entityId)
    {

        // prepare the cache key
        $sql = str_replace('?', $entityId, $this->loadStatement(SqlStatementKeys::CATEGORY_VARCHARS_BY_ENTITY_IDS));

        // load the categories with the passed values and return them
        if ($stmt = $this->getConnection()->query($sql)) {
            return $stmt->fetch();
        }
    }
public function findByEntityId($entityId)
    {

        // prepare the cache key
        $sql = str_replace('?', $entityId, $this->loadStatement(SqlStatementKeys::CATEGORY_VARCHARS_BY_ENTITY_IDS));

        // load the categories with the passed values and return them
        if ($stmt = $this->getConnection()->query($sql)) {
            return $stmt->fetch();
        }
    }
Returns the category varchar values for the categories with
the passed with the passed entity ID.

@param int $entityId The category ID

@return array The category varchar values