src/Repositories/EavEntityTypeRepository.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->eavEntityTypeStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ENTITY_TYPES));
        $this->eavEntityTypeByEntityTypeACodeStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ENTITY_TYPE_BY_ENTITY_TYPE_CODE));
    }
public function init ( ) { $ this -> eavEntityTypeStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ENTITY_TYPES ) ) ; $ this -> eavEntityTypeByEntityTypeACodeStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ENTITY_TYPE_BY_ENTITY_TYPE_CODE ) ) ; }
Initializes the repository's prepared statements.
Initializes the repository ' s prepared statements .
// initialize the prepared statements