src/Repositories/AttributeRepository.php
public function findOneByAttributeCode($attributeCode)
    {
        // load and return the EAV attribute with the passed code
        $this->attributeByAttributeCodeStmt->execute(array(MemberNames::ATTRIBUTE_CODE => $attributeCode));
        return $this->attributeByAttributeCodeStmt->fetch(\PDO::FETCH_ASSOC);
    }
public function findOneByAttributeCode($attributeCode)
    {
        // load and return the EAV attribute with the passed code
        $this->attributeByAttributeCodeStmt->execute(array(MemberNames::ATTRIBUTE_CODE => $attributeCode));
        return $this->attributeByAttributeCodeStmt->fetch(\PDO::FETCH_ASSOC);
    }
Return's the EAV attribute with the passed code.

@param string $attributeCode The code of the EAV attribute to return

@return array The EAV attribute
@deprecated Since 2.0.2
@see \TechDivision\Import\Attribute\Repositories\AttributeRepositoryInterface::findOneByEntityIdAndAttributeCode()