src/Repositories/EavAttributeSetRepository.php
/**
     * Initializes the repository's prepared statements.
     *
     * @return void
     */
Initializes the repository's prepared statements.
@return void
Initializes the repository ' s prepared statements . @return void
public function init()
    {
        $this->eavAttributeSetStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ATTRIBUTE_SET));
        $this->eavAttributeSetsByEntityTypeIdStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ATTRIBUTE_SETS_BY_ENTITY_TYPE_ID));
        $this->eavAttributeSetByEntityTypeIdAndAttributeSetNameStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ATTRIBUTE_SET_BY_ENTITY_TYPE_ID_AND_ATTRIBUTE_SET_NAME));
        $this->eavAttributeSetByEntityTypeCodeAndAttributeSetNameStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ATTRIBUTE_SET_BY_ENTITY_TYPE_CODE_AND_ATTRIBUTE_SET_NAME));
    }
public function init ( ) { $ this -> eavAttributeSetStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ATTRIBUTE_SET ) ) ; $ this -> eavAttributeSetsByEntityTypeIdStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ATTRIBUTE_SETS_BY_ENTITY_TYPE_ID ) ) ; $ this -> eavAttributeSetByEntityTypeIdAndAttributeSetNameStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ATTRIBUTE_SET_BY_ENTITY_TYPE_ID_AND_ATTRIBUTE_SET_NAME ) ) ; $ this -> eavAttributeSetByEntityTypeCodeAndAttributeSetNameStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ATTRIBUTE_SET_BY_ENTITY_TYPE_CODE_AND_ATTRIBUTE_SET_NAME ) ) ; }
Initializes the repository's prepared statements.
Initializes the repository ' s prepared statements .
// initialize the prepared statements