src/Repositories/AttributeRepository.php
public function init()
    {

        // initialize the prepared statements
        $this->attributeByAttributeCodeStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::ATTRIBUTE_BY_ATTRIBUTE_CODE));

        // initialize the prepared statements
        $this->attributeByEntityTypeAndAttributeCodeStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::ATTRIBUTE_BY_ENTITY_TYPE_ID_AND_ATTRIBUTE_CODE));
    }
public function init()
    {

        // initialize the prepared statements
        $this->attributeByAttributeCodeStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::ATTRIBUTE_BY_ATTRIBUTE_CODE));

        // initialize the prepared statements
        $this->attributeByEntityTypeAndAttributeCodeStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::ATTRIBUTE_BY_ENTITY_TYPE_ID_AND_ATTRIBUTE_CODE));
    }
Initializes the repository's prepared statements.

@return void