src/Repositories/EavAttributeRepository.php
/**
     * Return's the EAV attribute with the passed entity type ID and code.
     *
     * @param integer $entityTypeId  The entity type ID of the EAV attributes to return
     * @param string  $attributeCode The code of the EAV attribute to return
     *
     * @return array The EAV attribute
     */
Return's the EAV attribute with the passed entity type ID and code.
@param integer $entityTypeId  The entity type ID of the EAV attributes to return
@param string  $attributeCode The code of the EAV attribute to return

@return array The EAV attribute
Return ' s the EAV attribute with the passed entity type ID and code . @param integer $entityTypeId The entity type ID of the EAV attributes to return @param string $attributeCode The code of the EAV attribute to return @return array The EAV attribute
public function findOneByEntityTypeIdAndAttributeCode($entityTypeId, $attributeCode)
    {
        $params = array(
            MemberNames::ENTITY_TYPE_ID => $entityTypeId,
            MemberNames::ATTRIBUTE_CODE => $attributeCode
        );
        $this->eavAttributeByEntityTypeIdAndAttributeCodeStmt->execute($params);
        return $this->eavAttributeByEntityTypeIdAndAttributeCodeStmt->fetch(\PDO::FETCH_ASSOC);
    }
public function findOneByEntityTypeIdAndAttributeCode ( $ entityTypeId , $ attributeCode ) { $ params = array ( MemberNames :: ENTITY_TYPE_ID => $ entityTypeId , MemberNames :: ATTRIBUTE_CODE => $ attributeCode ) ; $ this -> eavAttributeByEntityTypeIdAndAttributeCodeStmt -> execute ( $ params ) ; return $ this -> eavAttributeByEntityTypeIdAndAttributeCodeStmt -> fetch ( \ PDO :: FETCH_ASSOC ) ; }
Return's the EAV attribute with the passed entity type ID and code.
Return ' s the EAV attribute with the passed entity type ID and code .
// initialize the params // execute the prepared statement and return the EAV attribute with the passed entity type ID and code